home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 51 / Amiga Format CD51 (2000-03-10)(Future Publishing)(GB)[!][issue 2000-04].iso / -in_the_mag- / fusion / mshardfile1 / MacLHA 2.14 / MacLHA 2.14.rsrc / CODE_6.txt < prev    next >
Text File  |  1995-03-21  |  102KB  |  1,870 lines

  1. # near model CODE resource
  2. # jump table entries: 1368-1410 (43 of them)
  3. fn00000000:
  4. 00000000  206F 0004                movea.l    A0, [A7 + 0x4]
  5. 00000004  43E8 0001                lea.l      A1, [A0 + 0x1]
  6. 00000008  7000                     moveq.l    D0, 0x00
  7. label0000000A:
  8. 0000000A  1210                     move.b     D1, [A0]
  9. 0000000C  10C0                     move.b     [A0]+, D0
  10. 0000000E  1001                     move.b     D0, D1
  11. 00000010  66F8                     bne        -0x6 /* 0000000A */
  12. 00000012  91C9                     sub.l      A0, A1
  13. 00000014  2008                     move.l     D0, A0
  14. 00000016  1300                     move.b     -[A1], D0
  15. 00000018  2009                     move.l     D0, A1
  16. 0000001A  4E75                     rts
  17. fn0000001C:
  18. 0000001C  206F 0004                movea.l    A0, [A7 + 0x4]
  19. 00000020  7000                     moveq.l    D0, 0x00
  20. 00000022  1010                     move.b     D0, [A0]
  21. 00000024  6004                     bra        +0x6 /* 0000002A */
  22. label00000026:
  23. 00000026  10E8 0001                move.b     [A0]+, [A0 + 0x1]
  24. label0000002A:
  25. 0000002A  51C8 FFFA                dbf        D0, -0x8 /* 00000026 */
  26. 0000002E  4210                     clr.b      [A0]
  27. 00000030  202F 0004                move.l     D0, [A7 + 0x4]
  28. 00000034  4E75                     rts
  29. export_192:
  30. 00000036  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  31. 0000003A  6B22                     bmi        +0x24 /* 0000005E */
  32. 0000003C  303C 0090                move.w     D0, 0x90
  33. 00000040  A346                     syscall    GetOSTrapAddress, flags=3
  34. 00000042  2248                     movea.l    A1, A0
  35. 00000044  303C 009F                move.w     D0, 0x9F
  36. 00000048  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  37. 0000004A  B3C8                     cmpa.l     A1, A0
  38. 0000004C  6710                     beq        +0x12 /* 0000005E */
  39. 0000004E  225F                     movea.l    A1, [A7]+
  40. 00000050  205F                     movea.l    A0, [A7]+
  41. 00000052  301F                     move.w     D0, [A7]+
  42. 00000054  2F09                     move.l     -[A7], A1
  43. 00000056  A090                     syscall    SysEnvirons
  44. 00000058  3F40 0004                move.w     [A7 + 0x4], D0
  45. 0000005C  4E75                     rts
  46. label0000005E:
  47. 0000005E  206F 0004                movea.l    A0, [A7 + 0x4]
  48. 00000062  303C 0001                move.w     D0, 0x1
  49. 00000066  2248                     movea.l    A1, A0
  50. 00000068  6006                     bra        +0x8 /* 00000070 */
  51. 0000006A  0313                     btst       [A3], D1
  52. 0000006C  0B02                     btst       D2, D5
  53. 0000006E  0100                     btst       D0, D0
  54. label00000070:
  55. 00000070  303C 0010                move.w     D0, 0x10
  56. 00000074  E240                     asr        D0.w, 1
  57. 00000076  5340                     subq.w     D0, 1
  58. label00000078:
  59. 00000078  4258                     clr.w      [A0]+
  60. 0000007A  51C8 FFFC                dbf        D0, -0x6 /* 00000078 */
  61. 0000007E  32BC 0002                move.w     [A1], 0x2
  62. 00000082  2078 02AE                movea.l    A0, [0x000002AE /* ROMBase */]
  63. 00000086  337C FFFE 0002           move.w     [A1 + 0x2], 0xFFFE
  64. 0000008C  0C28 00FF 0009           cmpi.b     [A0 + 0x9], 0xFF
  65. 00000092  6742                     beq        +0x44 /* 000000D6 */
  66. 00000094  4A28 0008                tst.b      [A0 + 0x8]
  67. 00000098  6E20                     bgt        +0x22 /* 000000BA */
  68. 0000009A  337C FFFF 0002           move.w     [A1 + 0x2], 0xFFFF
  69. 000000A0  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  70. 000000A4  6B30                     bmi        +0x32 /* 000000D6 */
  71. 000000A6  337C 0001 0002           move.w     [A1 + 0x2], 0x1
  72. 000000AC  4A78 0B22                tst.w      [0x00000B22 /* HWCfgFlags */]
  73. 000000B0  6A24                     bpl        +0x26 /* 000000D6 */
  74. 000000B2  337C 0002 0002           move.w     [A1 + 0x2], 0x2
  75. 000000B8  601C                     bra        +0x1E /* 000000D6 */
  76. label000000BA:
  77. 000000BA  4269 0002                clr.w      [A1 + 0x2]
  78. 000000BE  0C28 0002 0008           cmpi.b     [A0 + 0x8], 0x2
  79. 000000C4  6E10                     bgt        +0x12 /* 000000D6 */
  80. 000000C6  6708                     beq        +0xA /* 000000D0 */
  81. 000000C8  337C 0004 0002           move.w     [A1 + 0x2], 0x4
  82. 000000CE  6006                     bra        +0x8 /* 000000D6 */
  83. label000000D0:
  84. 000000D0  337C 0003 0002           move.w     [A1 + 0x2], 0x3
  85. label000000D6:
  86. 000000D6  4269 0004                clr.w      [A1 + 0x4]
  87. 000000DA  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  88. 000000E0  6E0A                     bgt        +0xC /* 000000EC */
  89. 000000E2  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  90. 000000E6  5240                     addq.w     D0, 1
  91. 000000E8  1340 0007                move.b     [A1 + 0x7], D0
  92. label000000EC:
  93. 000000EC  4A78 028E                tst.w      [0x0000028E /* ROM85 */]
  94. 000000F0  6B0E                     bmi        +0x10 /* 00000100 */
  95. 000000F2  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  96. 000000F8  6706                     beq        +0x8 /* 00000100 */
  97. 000000FA  137C 0001 0008           move.b     [A1 + 0x8], 0x1
  98. label00000100:
  99. 00000100  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  100. 00000106  6206                     bhi        +0x8 /* 0000010E */
  101. 00000108  137C 0001 0009           move.b     [A1 + 0x9], 0x1
  102. label0000010E:
  103. 0000010E  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  104. 00000112  41FA FF5B                lea.l      A0, [PC - 0xA5 /* 0000006F, value 0x303C00 '0<\0', cstring "" */]
  105. 00000116  323C 0004                move.w     D1, 0x4
  106. label0000011A:
  107. 0000011A  B020                     cmp.b      D0, -[A0]
  108. 0000011C  57C9 FFFC                dbeq       D1, -0x6 /* 0000011A */
  109. 00000120  5241                     addq.w     D1, 1
  110. 00000122  3341 000A                move.w     [A1 + 0xA], D1
  111. 00000126  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  112. 0000012A  6B18                     bmi        +0x1A /* 00000144 */
  113. 0000012C  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  114. 00000130  0201 000F                andi.b     D1, 0xF
  115. 00000134  0C01 0001                cmpi.b     D1, 0x1
  116. 00000138  660A                     bne        +0xC /* 00000144 */
  117. 0000013A  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  118. 0000013E  1368 0007 000D           move.b     [A1 + 0xD], [A0 + 0x7]
  119. label00000144:
  120. 00000144  3378 0210 000E           move.w     [A1 + 0xE], [0x00000210 /* BootDrive */]
  121. 0000014A  4A78 03F6                tst.w      [0x000003F6 /* FSFCBLen */]
  122. 0000014E  6D44                     blt        +0x46 /* 00000194 */
  123. 00000150  4269 000E                clr.w      [A1 + 0xE]
  124. 00000154  323C 003C                move.w     D1, 0x3C /* '<' */
  125. label00000158:
  126. 00000158  4267                     clr.w      -[A7]
  127. 0000015A  51C9 FFFC                dbf        D1, -0x6 /* 00000158 */
  128. 0000015E  204F                     movea.l    A0, A7
  129. 00000160  3178 0A58 0018           move.w     [A0 + 0x18], [0x00000A58 /* SysMap */]
  130. 00000166  7008                     moveq.l    D0, 0x08
  131. 00000168  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  132. 0000016A  6624                     bne        +0x26 /* 00000190 */
  133. 0000016C  3168 0034 0016           move.w     [A0 + 0x16], [A0 + 0x34]
  134. 00000172  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  135. 00000174  661A                     bne        +0x1C /* 00000190 */
  136. 00000176  2168 005A 0030           move.l     [A0 + 0x30], [A0 + 0x5A]
  137. 0000017C  217C 4552 494B 001C      move.l     [A0 + 0x1C], 0x4552494B /* 'ERIK' */
  138. 00000184  7001                     moveq.l    D0, 0x01
  139. 00000186  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  140. 00000188  6606                     bne        +0x8 /* 00000190 */
  141. 0000018A  3368 0016 000E           move.w     [A1 + 0xE], [A0 + 0x16]
  142. label00000190:
  143. 00000190  4FEF 007A                lea.l      A7, [A7 + 0x7A]
  144. label00000194:
  145. 00000194  2049                     movea.l    A0, A1
  146. 00000196  225F                     movea.l    A1, [A7]+
  147. 00000198  5C4F                     addq.w     A7, 6
  148. 0000019A  3EBC EA84                move.w     [A7], 0xEA84
  149. 0000019E  4ED1                     jmp        [A1]
  150. export_193:
  151. fn000001A0:
  152. 000001A0  4E56 0000                link       A6, 0
  153. 000001A4  203C 0000 A89F           move.l     D0, 0xA89F
  154. 000001AA  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  155. 000001AC  2F08                     move.l     -[A7], A0
  156. 000001AE  203C 0000 A0AD           move.l     D0, 0xA0AD
  157. 000001B4  A346                     syscall    GetOSTrapAddress, flags=3
  158. 000001B6  B1DF                     cmpa.l     A0, [A7]+
  159. 000001B8  670E                     beq        +0x10 /* 000001C8 */
  160. 000001BA  202E 000C                move.l     D0, [A6 + 0xC]
  161. 000001BE  A1AD                     syscall    Gestalt, flags=1
  162. 000001C0  226E 0008                movea.l    A1, [A6 + 0x8]
  163. 000001C4  2288                     move.l     [A1], A0
  164. 000001C6  6026                     bra        +0x28 /* 000001EE */
  165. label000001C8:
  166. 000001C8  41FA 0036                lea.l      A0, [PC + 0x36 /* 00000200, value 0x76657273 'vers', cstring "vers" */]
  167. 000001CC  303C EA51                move.w     D0, 0xEA51
  168. 000001D0  222E 000C                move.l     D1, [A6 + 0xC]
  169. label000001D4:
  170. 000001D4  B298                     cmp.l      D1, [A0]+
  171. 000001D6  6706                     beq        +0x8 /* 000001DE */
  172. 000001D8  4A98                     tst.l      [A0]+
  173. 000001DA  6712                     beq        +0x14 /* 000001EE */
  174. 000001DC  60F6                     bra        -0x8 /* 000001D4 */
  175. label000001DE:
  176. 000001DE  43FA 0020                lea.l      A1, [PC + 0x20 /* 00000200, value 0x76657273 'vers', cstring "vers" */]
  177. 000001E2  D3D0                     add.l      A1, [A0]
  178. 000001E4  4ED1                     jmp        [A1]
  179. label000001E6:
  180. 000001E6  226E 0008                movea.l    A1, [A6 + 0x8]
  181. 000001EA  2280                     move.l     [A1], D0
  182. 000001EC  4240                     clr.w      D0
  183. label000001EE:
  184. 000001EE  3D40 0010                move.w     [A6 + 0x10], D0
  185. 000001F2  4E5E                     unlink     A6
  186. 000001F4  205F                     movea.l    A0, [A7]+
  187. 000001F6  508F                     addq.l     A7, 8
  188. 000001F8  4ED0                     jmp        [A0]
  189. label000001FA:
  190. 000001FA  303C EA52                move.w     D0, 0xEA52
  191. 000001FE  60EE                     bra        -0x10 /* 000001EE */
  192. 00000200  7665                     moveq.l    D3, 0x65
  193. 00000202  7273                     moveq.l    D1, 0x73
  194. 00000204  0000 0060                ori.b      D0, 0x60 /* '`' */
  195. 00000208  6D61                     blt        +0x63 /* 0000026B */
  196. 0000020A  6368                     bls        +0x6A /* 00000274 */
  197. 0000020C  0000 0064                ori.b      D0, 0x64 /* 'd' */
  198. 00000210  7379                     moveq.l    D1, 0x79
  199. 00000212  7376                     moveq.l    D1, 0x76
  200. 00000214  0000 0088                ori.b      D0, 0x88
  201. 00000218  7072                     moveq.l    D0, 0x72
  202. 0000021A  6F63                     ble        +0x65 /* 0000027F */
  203. 0000021C  0000 0092                ori.b      D0, 0x92
  204. 00000220  6670                     bne        +0x72 /* 00000292 */
  205. 00000222  7520                     moveq.l    D2, 0x20
  206. 00000224  0000 009E                ori.b      D0, 0x9E
  207. 00000228  7164                     moveq.l    D0, 0x64
  208. 0000022A  2020                     move.l     D0, -[A0]
  209. 0000022C  0000 00E8                ori.b      D0, 0xE8
  210. 00000230  6B62                     bmi        +0x64 /* 00000294 */
  211. 00000232  6420                     bcc        +0x22 /* 00000254 */
  212. 00000234  0000 011A                ori.b      D0, 0x1A
  213. 00000238  6174                     bsr        +0x76 /* 000002AE */
  214. 0000023A  6C6B                     bge        +0x6D /* 000002A7 */
  215. 0000023C  0000 0142                ori.b      D0, 0x42 /* 'B' */
  216. 00000240  6D6D                     blt        +0x6F /* 000002AF */
  217. 00000242  7520                     moveq.l    D2, 0x20
  218. 00000244  0000 0164                ori.b      D0, 0x64 /* 'd' */
  219. 00000248  7261                     moveq.l    D1, 0x61
  220. 0000024A  6D20                     blt        +0x22 /* 0000026C */
  221. 0000024C  0000 0188                ori.b      D0, 0x88
  222. 00000250  6C72                     bge        +0x74 /* 000002C4 */
  223. 00000252  616D                     bsr        +0x6F /* 000002C1 */
  224. label00000254:
  225. 00000254  0000 0188                ori.b      D0, 0x88
  226. 00000258  0000 0000                ori.b      D0, 0x0
  227. 0000025C  0000 0000                ori.b      D0, 0x0
  228. 00000260  7001                     moveq.l    D0, 0x01
  229. 00000262  6082                     bra        -0x7C /* 000001E6 */
  230. 00000264  2278 02AE                movea.l    A1, [0x000002AE /* ROMBase */]
  231. 00000268  7004                     moveq.l    D0, 0x04
  232. 0000026A  0C69 0075 0008           cmpi.w     [A1 + 0x8], 0x75 /* 'u' */
  233. // begin alternate branch 0000026C-00000274
  234. label0000026C:
  235. 0000026C  0075 0008 6712 0C69      ori.w      [[A5 + D6 * 8] + 0xC69], 0x8
  236. // end alternate branch 0000026C-00000274
  237. label0000026C: // (misaligned)
  238. 00000270  6712                     beq        +0x14 /* 00000284 */
  239. 00000272  0C69 0276 0008           cmpi.w     [A1 + 0x8], 0x276
  240. // begin alternate branch 00000274-0000027A
  241. label00000274:
  242. 00000274  0276 0008 6604           andi.w     [A6 + D6.w * 8 + 0x4], 0x8
  243. // end alternate branch 00000274-0000027A
  244. label00000274: // (misaligned)
  245. 00000278  6604                     bne        +0x6 /* 0000027E */
  246. 0000027A  5240                     addq.w     D0, 1
  247. 0000027C  6006                     bra        +0x8 /* 00000284 */
  248. label0000027E:
  249. 0000027E  1038 0CB3                move.b     D0, [0x00000CB3 /* MMUFluff/MachineType */]
  250. 00000282  5C80                     addq.l     D0, 6
  251. label00000284:
  252. 00000284  6000 FF60                bra        -0x9E /* 000001E6 */
  253. 00000288  7000                     moveq.l    D0, 0x00
  254. 0000028A  3038 015A                move.w     D0, [0x0000015A /* SysVersion */]
  255. 0000028E  6000 FF56                bra        -0xA8 /* 000001E6 */
  256. label00000292:
  257. 00000292  7000                     moveq.l    D0, 0x00
  258. label00000294:
  259. 00000294  1038 012F                move.b     D0, [0x0000012F /* CPUFlag */]
  260. 00000298  5240                     addq.w     D0, 1
  261. 0000029A  6000 FF4A                bra        -0xB4 /* 000001E6 */
  262. 0000029E  0C38 0004 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x4
  263. 000002A4  6738                     beq        +0x3A /* 000002DE */
  264. 000002A6  0838 0004 0B22           btst.b     [0x00000B22 /* HWCfgFlags */], 0x4
  265. 000002AC  6734                     beq        +0x36 /* 000002E2 */
  266. fn000002AE:
  267. 000002AE  204F                     movea.l    A0, A7
  268. 000002B0  F280 0000                fnop
  269. 000002B4  F327                     .extension 0x327 <<F/4-5/1>> // unimplemented
  270. 000002B6  3017                     move.w     D0, [A7]
  271. 000002B8  2E48                     movea.l    A7, A0
  272. 000002BA  0C40 1F18                cmpi.w     D0, 0x1F18
  273. 000002BE  6716                     beq        +0x18 /* 000002D6 */
  274. 000002C0  0C40 3F18                cmpi.w     D0, 0x3F18
  275. label000002C4:
  276. 000002C4  6710                     beq        +0x12 /* 000002D6 */
  277. 000002C6  0C40 3F38                cmpi.w     D0, 0x3F38 /* '?8' */
  278. 000002CA  670E                     beq        +0x10 /* 000002DA */
  279. 000002CC  0C40 1F38                cmpi.w     D0, 0x1F38
  280. 000002D0  6708                     beq        +0xA /* 000002DA */
  281. 000002D2  7000                     moveq.l    D0, 0x00
  282. 000002D4  600E                     bra        +0x10 /* 000002E4 */
  283. label000002D6:
  284. 000002D6  7001                     moveq.l    D0, 0x01
  285. 000002D8  600A                     bra        +0xC /* 000002E4 */
  286. label000002DA:
  287. 000002DA  7002                     moveq.l    D0, 0x02
  288. 000002DC  6006                     bra        +0x8 /* 000002E4 */
  289. label000002DE:
  290. 000002DE  7003                     moveq.l    D0, 0x03
  291. 000002E0  6002                     bra        +0x4 /* 000002E4 */
  292. label000002E2:
  293. 000002E2  7000                     moveq.l    D0, 0x00
  294. label000002E4:
  295. 000002E4  6000 FF00                bra        -0xFE /* 000001E6 */
  296. 000002E8  0C78 3FFF 028E           cmpi.w     [0x0000028E /* ROM85 */], 0x3FFF
  297. 000002EE  6E1C                     bgt        +0x1E /* 0000030C */
  298. 000002F0  303C A89F                move.w     D0, 0xA89F
  299. 000002F4  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  300. 000002F6  2408                     move.l     D2, A0
  301. 000002F8  203C 0000 AB03           move.l     D0, 0xAB03
  302. 000002FE  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  303. 00000300  203C 0000 0100           move.l     D0, 0x100
  304. 00000306  B488                     cmp.l      D2, A0
  305. 00000308  6606                     bne        +0x8 /* 00000310 */
  306. 0000030A  600A                     bra        +0xC /* 00000316 */
  307. label0000030C:
  308. 0000030C  7000                     moveq.l    D0, 0x00
  309. 0000030E  6006                     bra        +0x8 /* 00000316 */
  310. label00000310:
  311. 00000310  203C 0000 0200           move.l     D0, 0x200
  312. label00000316:
  313. 00000316  6000 FECE                bra        -0x130 /* 000001E6 */
  314. 0000031A  1038 021E                move.b     D0, [0x0000021E /* KbdType */]
  315. 0000031E  41FA 0016                lea.l      A0, [PC + 0x16 /* 00000336, value 0x3130B02 */]
  316. 00000322  2248                     movea.l    A1, A0
  317. label00000324:
  318. 00000324  1218                     move.b     D1, [A0]+
  319. 00000326  6700 FED2                beq        -0x12C /* 000001FA */
  320. 0000032A  B200                     cmp.b      D1, D0
  321. 0000032C  66F6                     bne        -0x8 /* 00000324 */
  322. 0000032E  91C9                     sub.l      A0, A1
  323. 00000330  2008                     move.l     D0, A0
  324. 00000332  6000 FEB2                bra        -0x14C /* 000001E6 */
  325. 00000336  0313                     btst       [A3], D1
  326. 00000338  0B02                     btst       D2, D5
  327. 0000033A  0106                     btst       D6, D0
  328. 0000033C  0704                     btst       D4, D3
  329. 0000033E  0508                     btst       A0, D2
  330. 00000340  0900                     btst       D0, D4
  331. 00000342  7000                     moveq.l    D0, 0x00
  332. 00000344  4A38 0291                tst.b      [0x00000291 /* PortBUse */]
  333. 00000348  6B16                     bmi        +0x18 /* 00000360 */
  334. 0000034A  1238 01FB                move.b     D1, [0x000001FB /* SPConfig */]
  335. 0000034E  0201 000F                andi.b     D1, 0xF
  336. 00000352  0C01 0001                cmpi.b     D1, 0x1
  337. 00000356  6608                     bne        +0xA /* 00000360 */
  338. 00000358  2078 02DC                movea.l    A0, [0x000002DC /* ABusDCE */]
  339. 0000035C  1028 0007                move.b     D0, [A0 + 0x7]
  340. label00000360:
  341. 00000360  6000 FE84                bra        -0x17A /* 000001E6 */
  342. 00000364  0C38 0002 012F           cmpi.b     [0x0000012F /* CPUFlag */], 0x2
  343. 0000036A  6D16                     blt        +0x18 /* 00000382 */
  344. 0000036C  7000                     moveq.l    D0, 0x00
  345. 0000036E  1038 0CB1                move.b     D0, [0x00000CB1 /* MMUType */]
  346. 00000372  0C00 0001                cmpi.b     D0, 0x1
  347. 00000376  670C                     beq        +0xE /* 00000384 */
  348. 00000378  0C00 0003                cmpi.b     D0, 0x3
  349. 0000037C  6D04                     blt        +0x6 /* 00000382 */
  350. 0000037E  5340                     subq.w     D0, 1
  351. 00000380  6002                     bra        +0x4 /* 00000384 */
  352. label00000382:
  353. 00000382  7000                     moveq.l    D0, 0x00
  354. label00000384:
  355. 00000384  6000 FE60                bra        -0x19E /* 000001E6 */
  356. 00000388  303C A89F                move.w     D0, 0xA89F
  357. 0000038C  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  358. 0000038E  2408                     move.l     D2, A0
  359. 00000390  203C 0000 A88F           move.l     D0, 0xA88F
  360. 00000396  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  361. 00000398  2038 0108                move.l     D0, [0x00000108 /* MemTop */]
  362. 0000039C  B488                     cmp.l      D2, A0
  363. 0000039E  670A                     beq        +0xC /* 000003AA */
  364. 000003A0  598F                     subq.l     A7, 4
  365. 000003A2  3F3C 0016                move.w     -[A7], 0x16
  366. 000003A6  A88F                     syscall    OSDispatch
  367. 000003A8  201F                     move.l     D0, [A7]+
  368. label000003AA:
  369. 000003AA  6000 FE3A                bra        -0x1C4 /* 000001E6 */
  370. export_194:
  371. 000003AE  225F                     movea.l    A1, [A7]+
  372. 000003B0  205F                     movea.l    A0, [A7]+
  373. 000003B2  A025                     syscall    GetHandleSize
  374. 000003B4  2E80                     move.l     [A7], D0
  375. 000003B6  6A02                     bpl        +0x4 /* 000003BA */
  376. 000003B8  4297                     clr.l      [A7]
  377. label000003BA:
  378. 000003BA  4ED1                     jmp        [A1]
  379. export_195:
  380. fn000003BC:
  381. 000003BC  225F                     movea.l    A1, [A7]+
  382. 000003BE  121F                     move.b     D1, [A7]+
  383. 000003C0  301F                     move.w     D0, [A7]+
  384. 000003C2  4A01                     tst.b      D1
  385. 000003C4  6704                     beq        +0x6 /* 000003CA */
  386. 000003C6  A746                     syscall    GetToolBoxTrapAddress/GetToolTrapAddress, flags=7
  387. 000003C8  6002                     bra        +0x4 /* 000003CC */
  388. label000003CA:
  389. 000003CA  A346                     syscall    GetOSTrapAddress, flags=3
  390. label000003CC:
  391. 000003CC  2E88                     move.l     [A7], A0
  392. 000003CE  4ED1                     jmp        [A1]
  393. export_196:
  394. 000003D0  206F 0008                movea.l    A0, [A7 + 0x8]
  395. 000003D4  A9C7                     syscall    DateToSeconds/Date2Secs
  396. 000003D6  4CDF 0302                movem.l    D1,A0,A1, [A7]+
  397. 000003DA  2080                     move.l     [A0], D0
  398. 000003DC  2041                     movea.l    A0, D1
  399. 000003DE  4ED0                     jmp        [A0]
  400. export_197:
  401. 000003E0  206F 000C                movea.l    A0, [A7 + 0xC]
  402. 000003E4  226F 0008                movea.l    A1, [A7 + 0x8]
  403. 000003E8  7000                     moveq.l    D0, 0x00
  404. 000003EA  1018                     move.b     D0, [A0]+
  405. 000003EC  4840                     swap.w     D0
  406. 000003EE  1019                     move.b     D0, [A1]+
  407. 000003F0  4A2F 0004                tst.b      [A7 + 0x4]
  408. 000003F4  670E                     beq        +0x10 /* 00000404 */
  409. 000003F6  4A2F 0006                tst.b      [A7 + 0x6]
  410. 000003FA  6704                     beq        +0x6 /* 00000400 */
  411. 000003FC  A43C                     syscall    CmpString, flags=4
  412. 000003FE  6010                     bra        +0x12 /* 00000410 */
  413. label00000400:
  414. 00000400  A03C                     syscall    CmpString
  415. 00000402  600C                     bra        +0xE /* 00000410 */
  416. label00000404:
  417. 00000404  4A2F 0006                tst.b      [A7 + 0x6]
  418. 00000408  6704                     beq        +0x6 /* 0000040E */
  419. 0000040A  A63C                     syscall    CmpString, flags=6
  420. 0000040C  6002                     bra        +0x4 /* 00000410 */
  421. label0000040E:
  422. 0000040E  A23C                     syscall    CmpString, flags=2
  423. label00000410:
  424. 00000410  0A00 0001                xori.b     D0, 0x1
  425. 00000414  1F40 0010                move.b     [A7 + 0x10], D0
  426. 00000418  205F                     movea.l    A0, [A7]+
  427. 0000041A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  428. 0000041E  4ED0                     jmp        [A0]
  429. export_198:
  430. fn00000420:
  431. 00000420  4E56 FFCE                link       A6, -0x0032
  432. 00000424  204F                     movea.l    A0, A7
  433. 00000426  316E 0008 0018           move.w     [A0 + 0x18], [A6 + 0x8]
  434. 0000042C  A001                     syscall    Close
  435. 0000042E  3D40 000A                move.w     [A6 + 0xA], D0
  436. 00000432  4E5E                     unlink     A6
  437. 00000434  205F                     movea.l    A0, [A7]+
  438. 00000436  548F                     addq.l     A7, 2
  439. 00000438  4ED0                     jmp        [A0]
  440. export_199:
  441. 0000043A  51C1                     sf         D1
  442. 0000043C  6002                     bra        +0x4 /* 00000440 */
  443. export_200:
  444. 0000043E  50C1                     st         D1
  445. label00000440:
  446. 00000440  4E56 FFCE                link       A6, -0x0032
  447. 00000444  204F                     movea.l    A0, A7
  448. 00000446  216E 0008 0020           move.l     [A0 + 0x20], [A6 + 0x8]
  449. 0000044C  316E 0010 0018           move.w     [A0 + 0x18], [A6 + 0x10]
  450. 00000452  226E 000C                movea.l    A1, [A6 + 0xC]
  451. 00000456  2151 0024                move.l     [A0 + 0x24], [A1]
  452. 0000045A  4268 002C                clr.w      [A0 + 0x2C]
  453. 0000045E  42A8 002E                clr.l      [A0 + 0x2E]
  454. 00000462  4A01                     tst.b      D1
  455. 00000464  6604                     bne        +0x6 /* 0000046A */
  456. 00000466  A002                     syscall    Read
  457. 00000468  6002                     bra        +0x4 /* 0000046C */
  458. label0000046A:
  459. 0000046A  A003                     syscall    Write
  460. label0000046C:
  461. 0000046C  3D40 0012                move.w     [A6 + 0x12], D0
  462. 00000470  226E 000C                movea.l    A1, [A6 + 0xC]
  463. 00000474  22A8 0028                move.l     [A1], [A0 + 0x28]
  464. 00000478  4E5E                     unlink     A6
  465. 0000047A  225F                     movea.l    A1, [A7]+
  466. 0000047C  4FEF 000A                lea.l      A7, [A7 + 0xA]
  467. 00000480  4ED1                     jmp        [A1]
  468. export_201:
  469. fn00000482:
  470. 00000482  4E56 FFC0                link       A6, -0x0040
  471. 00000486  204F                     movea.l    A0, A7
  472. 00000488  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  473. 0000048E  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  474. 00000494  A015                     syscall    SetVol/PBHSetVol/HSetVol
  475. 00000496  3D40 000E                move.w     [A6 + 0xE], D0
  476. 0000049A  4E5E                     unlink     A6
  477. 0000049C  225F                     movea.l    A1, [A7]+
  478. 0000049E  5C8F                     addq.l     A7, 6
  479. 000004A0  4ED1                     jmp        [A1]
  480. export_202:
  481. 000004A2  4E56 FFC0                link       A6, -0x0040
  482. 000004A6  204F                     movea.l    A0, A7
  483. 000004A8  316E 0008 0016           move.w     [A0 + 0x16], [A6 + 0x8]
  484. 000004AE  216E 000A 0012           move.l     [A0 + 0x12], [A6 + 0xA]
  485. 000004B4  A013                     syscall    FlushVol
  486. 000004B6  3D40 000E                move.w     [A6 + 0xE], D0
  487. 000004BA  4E5E                     unlink     A6
  488. 000004BC  225F                     movea.l    A1, [A7]+
  489. 000004BE  5C8F                     addq.l     A7, 6
  490. 000004C0  4ED1                     jmp        [A1]
  491. export_203:
  492. 000004C2  4E56 FFCE                link       A6, -0x0032
  493. 000004C6  204F                     movea.l    A0, A7
  494. 000004C8  316E 000C 0018           move.w     [A0 + 0x18], [A6 + 0xC]
  495. 000004CE  A011                     syscall    GetEOF
  496. 000004D0  3D40 000E                move.w     [A6 + 0xE], D0
  497. 000004D4  226E 0008                movea.l    A1, [A6 + 0x8]
  498. 000004D8  22A8 001C                move.l     [A1], [A0 + 0x1C]
  499. 000004DC  4E5E                     unlink     A6
  500. 000004DE  225F                     movea.l    A1, [A7]+
  501. 000004E0  5C8F                     addq.l     A7, 6
  502. 000004E2  4ED1                     jmp        [A1]
  503. export_204:
  504. 000004E4  4E56 FFCE                link       A6, -0x0032
  505. 000004E8  204F                     movea.l    A0, A7
  506. 000004EA  316E 000E 0018           move.w     [A0 + 0x18], [A6 + 0xE]
  507. 000004F0  316E 000C 002C           move.w     [A0 + 0x2C], [A6 + 0xC]
  508. 000004F6  216E 0008 002E           move.l     [A0 + 0x2E], [A6 + 0x8]
  509. 000004FC  A044                     syscall    SetFPos
  510. 000004FE  3D40 0010                move.w     [A6 + 0x10], D0
  511. 00000502  4E5E                     unlink     A6
  512. 00000504  225F                     movea.l    A1, [A7]+
  513. 00000506  508F                     addq.l     A7, 8
  514. 00000508  4ED1                     jmp        [A1]
  515. fn0000050A:
  516. 0000050A  225F                     movea.l    A1, [A7]+
  517. 0000050C  101F                     move.b     D0, [A7]+
  518. 0000050E  205F                     movea.l    A0, [A7]+
  519. 00000510  6606                     bne        +0x8 /* 00000518 */
  520. 00000512  7001                     moveq.l    D0, 0x01
  521. 00000514  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  522. 00000516  6004                     bra        +0x6 /* 0000051C */
  523. label00000518:
  524. 00000518  7001                     moveq.l    D0, 0x01
  525. 0000051A  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  526. label0000051C:
  527. 0000051C  3E80                     move.w     [A7], D0
  528. 0000051E  4ED1                     jmp        [A1]
  529. fn00000520:
  530. 00000520  225F                     movea.l    A1, [A7]+
  531. 00000522  101F                     move.b     D0, [A7]+
  532. 00000524  205F                     movea.l    A0, [A7]+
  533. 00000526  6606                     bne        +0x8 /* 0000052E */
  534. 00000528  7002                     moveq.l    D0, 0x02
  535. 0000052A  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  536. 0000052C  6004                     bra        +0x6 /* 00000532 */
  537. label0000052E:
  538. 0000052E  7002                     moveq.l    D0, 0x02
  539. 00000530  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  540. label00000532:
  541. 00000532  3E80                     move.w     [A7], D0
  542. 00000534  4ED1                     jmp        [A1]
  543. fn00000536:
  544. 00000536  225F                     movea.l    A1, [A7]+
  545. 00000538  101F                     move.b     D0, [A7]+
  546. 0000053A  205F                     movea.l    A0, [A7]+
  547. 0000053C  6604                     bne        +0x6 /* 00000542 */
  548. 0000053E  A215                     syscall    SetVol/PBHSetVol/HSetVol, flags=2
  549. 00000540  6002                     bra        +0x4 /* 00000544 */
  550. label00000542:
  551. 00000542  A615                     syscall    SetVol/PBHSetVol/HSetVol, flags=6
  552. label00000544:
  553. 00000544  3E80                     move.w     [A7], D0
  554. 00000546  4ED1                     jmp        [A1]
  555. fn00000548:
  556. 00000548  225F                     movea.l    A1, [A7]+
  557. 0000054A  101F                     move.b     D0, [A7]+
  558. 0000054C  205F                     movea.l    A0, [A7]+
  559. 0000054E  6604                     bne        +0x6 /* 00000554 */
  560. 00000550  A214                     syscall    GetVol/PBHGetVol/HGetVol, flags=2
  561. 00000552  6002                     bra        +0x4 /* 00000556 */
  562. label00000554:
  563. 00000554  A614                     syscall    GetVol/PBHGetVol/HGetVol, flags=6
  564. label00000556:
  565. 00000556  3E80                     move.w     [A7], D0
  566. 00000558  4ED1                     jmp        [A1]
  567. fn0000055A:
  568. 0000055A  225F                     movea.l    A1, [A7]+
  569. 0000055C  101F                     move.b     D0, [A7]+
  570. 0000055E  205F                     movea.l    A0, [A7]+
  571. 00000560  6606                     bne        +0x8 /* 00000568 */
  572. 00000562  7005                     moveq.l    D0, 0x05
  573. 00000564  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  574. 00000566  6004                     bra        +0x6 /* 0000056C */
  575. label00000568:
  576. 00000568  7005                     moveq.l    D0, 0x05
  577. 0000056A  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  578. label0000056C:
  579. 0000056C  3E80                     move.w     [A7], D0
  580. 0000056E  4ED1                     jmp        [A1]
  581. fn00000570:
  582. 00000570  225F                     movea.l    A1, [A7]+
  583. 00000572  101F                     move.b     D0, [A7]+
  584. 00000574  205F                     movea.l    A0, [A7]+
  585. 00000576  6606                     bne        +0x8 /* 0000057E */
  586. 00000578  7006                     moveq.l    D0, 0x06
  587. 0000057A  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  588. 0000057C  6004                     bra        +0x6 /* 00000582 */
  589. label0000057E:
  590. 0000057E  7006                     moveq.l    D0, 0x06
  591. 00000580  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  592. label00000582:
  593. 00000582  3E80                     move.w     [A7], D0
  594. 00000584  4ED1                     jmp        [A1]
  595. fn00000586:
  596. 00000586  225F                     movea.l    A1, [A7]+
  597. 00000588  101F                     move.b     D0, [A7]+
  598. 0000058A  205F                     movea.l    A0, [A7]+
  599. 0000058C  6606                     bne        +0x8 /* 00000594 */
  600. 0000058E  7007                     moveq.l    D0, 0x07
  601. 00000590  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  602. 00000592  6004                     bra        +0x6 /* 00000598 */
  603. label00000594:
  604. 00000594  7007                     moveq.l    D0, 0x07
  605. 00000596  A660                     syscall    FSDispatch/HFSDispatch, flags=6
  606. label00000598:
  607. 00000598  3E80                     move.w     [A7], D0
  608. 0000059A  4ED1                     jmp        [A1]
  609. fn0000059C:
  610. 0000059C  225F                     movea.l    A1, [A7]+
  611. 0000059E  101F                     move.b     D0, [A7]+
  612. 000005A0  205F                     movea.l    A0, [A7]+
  613. 000005A2  6604                     bne        +0x6 /* 000005A8 */
  614. 000005A4  A200                     syscall    OpenSlot, flags=2
  615. 000005A6  6002                     bra        +0x4 /* 000005AA */
  616. label000005A8:
  617. 000005A8  A600                     syscall    Open/PBHOpen/HOpen, flags=6
  618. label000005AA:
  619. 000005AA  3E80                     move.w     [A7], D0
  620. 000005AC  4ED1                     jmp        [A1]
  621. fn000005AE:
  622. 000005AE  225F                     movea.l    A1, [A7]+
  623. 000005B0  101F                     move.b     D0, [A7]+
  624. 000005B2  205F                     movea.l    A0, [A7]+
  625. 000005B4  6604                     bne        +0x6 /* 000005BA */
  626. 000005B6  A20A                     syscall    OpenRF/PBHOpenRF/HOpenRF, flags=2
  627. 000005B8  6002                     bra        +0x4 /* 000005BC */
  628. label000005BA:
  629. 000005BA  A60A                     syscall    OpenRF/PBHOpenRF/HOpenRF, flags=6
  630. label000005BC:
  631. 000005BC  3E80                     move.w     [A7], D0
  632. 000005BE  4ED1                     jmp        [A1]
  633. fn000005C0:
  634. 000005C0  225F                     movea.l    A1, [A7]+
  635. 000005C2  101F                     move.b     D0, [A7]+
  636. 000005C4  205F                     movea.l    A0, [A7]+
  637. 000005C6  6604                     bne        +0x6 /* 000005CC */
  638. 000005C8  A208                     syscall    Create/PBHCreate/HCreate, flags=2
  639. 000005CA  6002                     bra        +0x4 /* 000005CE */
  640. label000005CC:
  641. 000005CC  A608                     syscall    Create/PBHCreate/HCreate, flags=6
  642. label000005CE:
  643. 000005CE  3E80                     move.w     [A7], D0
  644. 000005D0  4ED1                     jmp        [A1]
  645. fn000005D2:
  646. 000005D2  225F                     movea.l    A1, [A7]+
  647. 000005D4  101F                     move.b     D0, [A7]+
  648. 000005D6  205F                     movea.l    A0, [A7]+
  649. 000005D8  6604                     bne        +0x6 /* 000005DE */
  650. 000005DA  A209                     syscall    Delete/PBHDelete/HDelete, flags=2
  651. 000005DC  6002                     bra        +0x4 /* 000005E0 */
  652. label000005DE:
  653. 000005DE  A609                     syscall    Delete/PBHDelete/HDelete, flags=6
  654. label000005E0:
  655. 000005E0  3E80                     move.w     [A7], D0
  656. 000005E2  4ED1                     jmp        [A1]
  657. fn000005E4:
  658. 000005E4  225F                     movea.l    A1, [A7]+
  659. 000005E6  101F                     move.b     D0, [A7]+
  660. 000005E8  205F                     movea.l    A0, [A7]+
  661. 000005EA  6604                     bne        +0x6 /* 000005F0 */
  662. 000005EC  A20B                     syscall    Rename/PBHRename/HRename, flags=2
  663. 000005EE  6002                     bra        +0x4 /* 000005F2 */
  664. label000005F0:
  665. 000005F0  A60B                     syscall    Rename/PBHRename/HRename, flags=6
  666. label000005F2:
  667. 000005F2  3E80                     move.w     [A7], D0
  668. 000005F4  4ED1                     jmp        [A1]
  669. fn000005F6:
  670. 000005F6  225F                     movea.l    A1, [A7]+
  671. 000005F8  101F                     move.b     D0, [A7]+
  672. 000005FA  205F                     movea.l    A0, [A7]+
  673. 000005FC  6604                     bne        +0x6 /* 00000602 */
  674. 000005FE  A20C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=2
  675. 00000600  6002                     bra        +0x4 /* 00000604 */
  676. label00000602:
  677. 00000602  A60C                     syscall    GetFileInfo/PBHGetFInfo/HGetFileInfo, flags=6
  678. label00000604:
  679. 00000604  3E80                     move.w     [A7], D0
  680. 00000606  4ED1                     jmp        [A1]
  681. fn00000608:
  682. 00000608  225F                     movea.l    A1, [A7]+
  683. 0000060A  101F                     move.b     D0, [A7]+
  684. 0000060C  205F                     movea.l    A0, [A7]+
  685. 0000060E  6604                     bne        +0x6 /* 00000614 */
  686. 00000610  A20D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=2
  687. 00000612  6002                     bra        +0x4 /* 00000616 */
  688. label00000614:
  689. 00000614  A60D                     syscall    SetFileInfo/PBHSetFInfo/HSetFileInfo, flags=6
  690. label00000616:
  691. 00000616  3E80                     move.w     [A7], D0
  692. 00000618  4ED1                     jmp        [A1]
  693. export_205:
  694. 0000061A  226F 0004                movea.l    A1, [A7 + 0x4]
  695. 0000061E  4251                     clr.w      [A1]
  696. 00000620  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  697. 00000624  A025                     syscall    GetHandleSize
  698. 00000626  4A80                     tst.l      D0
  699. 00000628  6F0E                     ble        +0x10 /* 00000638 */
  700. 0000062A  2050                     movea.l    A0, [A0]
  701. 0000062C  226F 0008                movea.l    A1, [A7 + 0x8]
  702. 00000630  3298                     move.w     [A1], [A0]+
  703. 00000632  226F 0004                movea.l    A1, [A7 + 0x4]
  704. 00000636  3290                     move.w     [A1], [A0]
  705. label00000638:
  706. 00000638  205F                     movea.l    A0, [A7]+
  707. 0000063A  504F                     addq.w     A7, 8
  708. 0000063C  4ED0                     jmp        [A0]
  709. export_206:
  710. 0000063E  48E7 0030                movem.l    -[A7], A2,A3
  711. 00000642  226F 000C                movea.l    A1, [A7 + 0xC]
  712. 00000646  42A9 0002                clr.l      [A1 + 0x2]
  713. 0000064A  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  714. 0000064E  A025                     syscall    GetHandleSize
  715. 00000650  4A80                     tst.l      D0
  716. 00000652  6F26                     ble        +0x28 /* 0000067A */
  717. 00000654  2450                     movea.l    A2, [A0]
  718. 00000656  544A                     addq.w     A2, 2
  719. 00000658  322F 0010                move.w     D1, [A7 + 0x10]
  720. 0000065C  B25A                     cmp.w      D1, [A2]+
  721. 0000065E  6E1A                     bgt        +0x1C /* 0000067A */
  722. 00000660  5341                     subq.w     D1, 1
  723. label00000662:
  724. 00000662  6D16                     blt        +0x18 /* 0000067A */
  725. 00000664  204A                     movea.l    A0, A2
  726. 00000666  7002                     moveq.l    D0, 0x02
  727. 00000668  D028 0008                add.b      D0, [A0 + 0x8]
  728. 0000066C  0240 FFFE                andi.w     D0, 0xFFFE
  729. 00000670  5040                     addq.w     D0, 8
  730. 00000672  D4C0                     add.w      A2, D0
  731. 00000674  A02E                     syscall    BlockMove/BlockMoveData
  732. 00000676  5341                     subq.w     D1, 1
  733. 00000678  60E8                     bra        -0x16 /* 00000662 */
  734. label0000067A:
  735. 0000067A  4CDF 0C00                movem.l    A2,A3, [A7]+
  736. 0000067E  205F                     movea.l    A0, [A7]+
  737. 00000680  5C4F                     addq.w     A7, 6
  738. 00000682  4ED0                     jmp        [A0]
  739. export_207:
  740. 00000684  2078 0AEC                movea.l    A0, [0x00000AEC /* AppParmHandle */]
  741. 00000688  A025                     syscall    GetHandleSize
  742. 0000068A  4A80                     tst.l      D0
  743. 0000068C  6F28                     ble        +0x2A /* 000006B6 */
  744. 0000068E  2050                     movea.l    A0, [A0]
  745. 00000690  5448                     addq.w     A0, 2
  746. 00000692  322F 0004                move.w     D1, [A7 + 0x4]
  747. 00000696  B258                     cmp.w      D1, [A0]+
  748. 00000698  6E1C                     bgt        +0x1E /* 000006B6 */
  749. 0000069A  5341                     subq.w     D1, 1
  750. label0000069C:
  751. 0000069C  6D18                     blt        +0x1A /* 000006B6 */
  752. 0000069E  6712                     beq        +0x14 /* 000006B2 */
  753. 000006A0  7002                     moveq.l    D0, 0x02
  754. 000006A2  D028 0008                add.b      D0, [A0 + 0x8]
  755. 000006A6  0240 FFFE                andi.w     D0, 0xFFFE
  756. 000006AA  5040                     addq.w     D0, 8
  757. 000006AC  D0C0                     add.w      A0, D0
  758. 000006AE  5341                     subq.w     D1, 1
  759. 000006B0  60EA                     bra        -0x14 /* 0000069C */
  760. label000006B2:
  761. 000006B2  42A8 0002                clr.l      [A0 + 0x2]
  762. label000006B6:
  763. 000006B6  205F                     movea.l    A0, [A7]+
  764. 000006B8  544F                     addq.w     A7, 2
  765. 000006BA  4ED0                     jmp        [A0]
  766. export_208:
  767. 000006BC  206F 0008                movea.l    A0, [A7 + 0x8]
  768. 000006C0  3F3C 0001                move.w     -[A7], 0x1
  769. 000006C4  A9EE                     syscall    Pack7/DecStr68K
  770. 000006C6  206F 0004                movea.l    A0, [A7 + 0x4]
  771. 000006CA  2080                     move.l     [A0], D0
  772. 000006CC  4EFA 000E                jmp        [PC + 0xE /* 000006DC */]
  773. export_209:
  774. 000006D0  206F 0004                movea.l    A0, [A7 + 0x4]
  775. 000006D4  202F 0008                move.l     D0, [A7 + 0x8]
  776. 000006D8  4267                     clr.w      -[A7]
  777. 000006DA  A9EE                     syscall    Pack7/DecStr68K
  778. label000006DC:
  779. 000006DC  205F                     movea.l    A0, [A7]+
  780. 000006DE  504F                     addq.w     A7, 8
  781. 000006E0  4ED0                     jmp        [A0]
  782. export_210:
  783. 000006E2  225F                     movea.l    A1, [A7]+
  784. 000006E4  201F                     move.l     D0, [A7]+
  785. 000006E6  0838 0006 028E           btst.b     [0x0000028E /* ROM85 */], 0x6
  786. 000006EC  6606                     bne        +0x8 /* 000006F4 */
  787. 000006EE  A055                     syscall    StripAddress
  788. 000006F0  2E80                     move.l     [A7], D0
  789. 000006F2  4ED1                     jmp        [A1]
  790. label000006F4:
  791. 000006F4  C0B8 031A                and.l      D0, [0x0000031A /* MaskBC/MaskHandle/MaskPtr/Lo3Bytes */]
  792. 000006F8  2E80                     move.l     [A7], D0
  793. 000006FA  4ED1                     jmp        [A1]
  794. export_211:
  795. 000006FC  4E56 0000                link       A6, 0
  796. 00000700  594F                     subq.w     A7, 4
  797. 00000702  2F3C 5354 5223           move.l     -[A7], 0x53545223 /* 'STR#' */
  798. 00000708  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  799. 0000070C  A9A0                     syscall    GetResource
  800. 0000070E  226E 000C                movea.l    A1, [A6 + 0xC]
  801. 00000712  4211                     clr.b      [A1]
  802. 00000714  201F                     move.l     D0, [A7]+
  803. 00000716  6722                     beq        +0x24 /* 0000073A */
  804. 00000718  2040                     movea.l    A0, D0
  805. 0000071A  2050                     movea.l    A0, [A0]
  806. 0000071C  3018                     move.w     D0, [A0]+
  807. 0000071E  322E 0008                move.w     D1, [A6 + 0x8]
  808. 00000722  6716                     beq        +0x18 /* 0000073A */
  809. 00000724  B240                     cmp.w      D1, D0
  810. 00000726  6212                     bhi        +0x14 /* 0000073A */
  811. 00000728  7000                     moveq.l    D0, 0x00
  812. label0000072A:
  813. 0000072A  5341                     subq.w     D1, 1
  814. 0000072C  6706                     beq        +0x8 /* 00000734 */
  815. 0000072E  1018                     move.b     D0, [A0]+
  816. 00000730  D1C0                     add.l      A0, D0
  817. 00000732  60F6                     bra        -0x8 /* 0000072A */
  818. label00000734:
  819. 00000734  1010                     move.b     D0, [A0]
  820. 00000736  5240                     addq.w     D0, 1
  821. 00000738  A02E                     syscall    BlockMove/BlockMoveData
  822. label0000073A:
  823. 0000073A  4E5E                     unlink     A6
  824. 0000073C  205F                     movea.l    A0, [A7]+
  825. 0000073E  508F                     addq.l     A7, 8
  826. 00000740  4ED0                     jmp        [A0]
  827. export_212:
  828. 00000742  4E56 0000                link       A6, 0
  829. 00000746  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  830. 0000074A  4EBA F8B4                jsr        [PC - 0x74C /* 00000000 */]
  831. 0000074E  4E5E                     unlink     A6
  832. 00000750  4E75                     rts
  833. export_213:
  834. 00000752  4E56 0000                link       A6, 0
  835. 00000756  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  836. 0000075A  4EBA F8C0                jsr        [PC - 0x740 /* 0000001C */]
  837. 0000075E  4E5E                     unlink     A6
  838. 00000760  4E75                     rts
  839. export_171:
  840. 00000762  4E56 FF7C                link       A6, -0x0084
  841. 00000766  48E7 0F18                movem.l    -[A7], D4,D5,D6,D7,A3,A4
  842. 0000076A  266E 0008                movea.l    A3, [A6 + 0x8]
  843. 0000076E  286E 000C                movea.l    A4, [A6 + 0xC]
  844. 00000772  3A2E 0016                move.w     D5, [A6 + 0x16]
  845. 00000776  2C2E 0012                move.l     D6, [A6 + 0x12]
  846. 0000077A  4204                     clr.b      D4
  847. 0000077C  558F                     subq.l     A7, 2
  848. 0000077E  2F3C 666F 6C64           move.l     -[A7], 0x666F6C64 /* 'fold' */
  849. 00000784  486E FF7C                pea.l      [A6 - 0x84]
  850. 00000788  4EBA FA16                jsr        [PC - 0x5EA /* 000001A0 */]
  851. 0000078C  3E1F                     move.w     D7, [A7]+
  852. 0000078E  660C                     bne        +0xE /* 0000079C */
  853. 00000790  202E FF7C                move.l     D0, [A6 - 0x84]
  854. 00000794  0800 0000                btst.b     D0, 0x0
  855. 00000798  6702                     beq        +0x4 /* 0000079C */
  856. 0000079A  7801                     moveq.l    D4, 0x01
  857. label0000079C:
  858. 0000079C  4A04                     tst.b      D4
  859. 0000079E  671A                     beq        +0x1C /* 000007BA */
  860. 000007A0  558F                     subq.l     A7, 2
  861. 000007A2  3F05                     move.w     -[A7], D5
  862. 000007A4  2F06                     move.l     -[A7], D6
  863. 000007A6  1F2E 0010                move.b     -[A7], [A6 + 0x10]
  864. 000007AA  2F0C                     move.l     -[A7], A4
  865. 000007AC  2F0B                     move.l     -[A7], A3
  866. 000007AE  7000                     moveq.l    D0, 0x00
  867. 000007B0  A823                     syscall    AliasDispatch
  868. 000007B2  3D5F 0018                move.w     [A6 + 0x18], [A7]+
  869. 000007B6  6000 00EA                bra        +0xEC /* 000008A2 */
  870. label000007BA:
  871. 000007BA  0C86 6D61 6373           cmpi.l     D6, 0x6D616373 /* 'macs' */
  872. 000007C0  6742                     beq        +0x44 /* 00000804 */
  873. 000007C2  0C86 7465 6D70           cmpi.l     D6, 0x74656D70 /* 'temp' */
  874. 000007C8  673A                     beq        +0x3C /* 00000804 */
  875. 000007CA  0C86 7072 6566           cmpi.l     D6, 0x70726566 /* 'pref' */
  876. 000007D0  6732                     beq        +0x34 /* 00000804 */
  877. 000007D2  0C86 6578 746E           cmpi.l     D6, 0x6578746E /* 'extn' */
  878. 000007D8  672A                     beq        +0x2C /* 00000804 */
  879. 000007DA  0C86 6374 726C           cmpi.l     D6, 0x6374726C /* 'ctrl' */
  880. 000007E0  6722                     beq        +0x24 /* 00000804 */
  881. 000007E2  0C86 616D 6E75           cmpi.l     D6, 0x616D6E75 /* 'amnu' */
  882. 000007E8  671A                     beq        +0x1C /* 00000804 */
  883. 000007EA  0C86 7374 7274           cmpi.l     D6, 0x73747274 /* 'strt' */
  884. 000007F0  6712                     beq        +0x14 /* 00000804 */
  885. 000007F2  0C86 7072 6E74           cmpi.l     D6, 0x70726E74 /* 'prnt' */
  886. 000007F8  670A                     beq        +0xC /* 00000804 */
  887. 000007FA  3D7C FFCE 0018           move.w     [A6 + 0x18], 0xFFCE
  888. 00000800  6000 00A0                bra        +0xA2 /* 000008A2 */
  889. label00000804:
  890. 00000804  7000                     moveq.l    D0, 0x00
  891. 00000806  2D40 FF92                move.l     [A6 - 0x6E], D0
  892. 0000080A  0C45 8000                cmpi.w     D5, 0x8000
  893. 0000080E  6626                     bne        +0x28 /* 00000836 */
  894. 00000810  3D78 0A58 FF98           move.w     [A6 - 0x68], [0x00000A58 /* SysMap */]
  895. 00000816  426E FF9C                clr.w      [A6 - 0x64]
  896. 0000081A  7002                     moveq.l    D0, 0x02
  897. 0000081C  2D40 FFBA                move.l     [A6 - 0x46], D0
  898. 00000820  43EE FF80                lea.l      A1, [A6 - 0x80]
  899. 00000824  2049                     movea.l    A0, A1
  900. 00000826  7008                     moveq.l    D0, 0x08
  901. 00000828  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  902. 0000082A  3E00                     move.w     D7, D0
  903. 0000082C  6670                     bne        +0x72 /* 0000089E */
  904. 0000082E  3D6E FFB4 FF96           move.w     [A6 - 0x6A], [A6 - 0x4C]
  905. 00000834  6004                     bra        +0x6 /* 0000083A */
  906. label00000836:
  907. 00000836  3D45 FF96                move.w     [A6 - 0x6A], D5
  908. label0000083A:
  909. 0000083A  7006                     moveq.l    D0, 0x06
  910. 0000083C  2D40 FFA4                move.l     [A6 - 0x5C], D0
  911. 00000840  41EE FFFA                lea.l      A0, [A6 - 0x6]
  912. 00000844  2D48 FFA0                move.l     [A6 - 0x60], A0
  913. 00000848  43EE FF80                lea.l      A1, [A6 - 0x80]
  914. 0000084C  2049                     movea.l    A0, A1
  915. 0000084E  7030                     moveq.l    D0, 0x30
  916. 00000850  A260                     syscall    FSDispatch/HFSDispatch, flags=2
  917. 00000852  3E00                     move.w     D7, D0
  918. 00000854  0C47 FFCE                cmpi.w     D7, 0xFFCE
  919. 00000858  6710                     beq        +0x12 /* 0000086A */
  920. 0000085A  4A47                     tst.w      D7
  921. 0000085C  663A                     bne        +0x3C /* 00000898 */
  922. 0000085E  203C 0002 0000           move.l     D0, 0x20000
  923. 00000864  C0AE FFFC                and.l      D0, [A6 - 0x4]
  924. 00000868  662E                     bne        +0x30 /* 00000898 */
  925. label0000086A:
  926. 0000086A  426E FF9C                clr.w      [A6 - 0x64]
  927. 0000086E  7000                     moveq.l    D0, 0x00
  928. 00000870  2D40 FFDA                move.l     [A6 - 0x26], D0
  929. 00000874  2D40 FFB0                move.l     [A6 - 0x50], D0
  930. 00000878  43EE FF80                lea.l      A1, [A6 - 0x80]
  931. 0000087C  2049                     movea.l    A0, A1
  932. 0000087E  A207                     syscall    GetVolInfo/PBHGetVInfo/HGetVInfo, flags=2
  933. 00000880  3E00                     move.w     D7, D0
  934. 00000882  661A                     bne        +0x1C /* 0000089E */
  935. 00000884  4AAE FFDA                tst.l      [A6 - 0x26]
  936. 00000888  670A                     beq        +0xC /* 00000894 */
  937. 0000088A  38AE FF96                move.w     [A4], [A6 - 0x6A]
  938. 0000088E  26AE FFDA                move.l     [A3], [A6 - 0x26]
  939. 00000892  600A                     bra        +0xC /* 0000089E */
  940. label00000894:
  941. 00000894  7ED5                     moveq.l    D7, 0xFFFFFFD5
  942. 00000896  6006                     bra        +0x8 /* 0000089E */
  943. label00000898:
  944. 00000898  4A47                     tst.w      D7
  945. 0000089A  6602                     bne        +0x4 /* 0000089E */
  946. 0000089C  7ED5                     moveq.l    D7, 0xFFFFFFD5
  947. label0000089E:
  948. 0000089E  3D47 0018                move.w     [A6 + 0x18], D7
  949. label000008A2:
  950. 000008A2  4CEE 18F0 FF64           movem.l    D4,D5,D6,D7,A3,A4, [A6 - 0x9C]
  951. 000008A8  4E5E                     unlink     A6
  952. 000008AA  205F                     movea.l    A0, [A7]+
  953. 000008AC  4FEF 0010                lea.l      A7, [A7 + 0x10]
  954. 000008B0  4ED0                     jmp        [A0]
  955. 000008B2  8A46                     or.w       D5, D6
  956. 000008B4  494E                     chk.w      D4, A6
  957. 000008B6  4446                     neg.w      D6
  958. 000008B8  4F4C                     chk.w      D7, A4
  959. 000008BA  4445                     neg.w      D5
  960. 000008BC  5200                     addq.b     D0, 1
  961. 000008BE  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  962. // begin alternate branch 000008C0-000008C4
  963. export_172:
  964. fn000008C0:
  965. 000008C0  4E56 FFCC                link       A6, -0x0034
  966. // end alternate branch 000008C0-000008C4
  967. export_172: // at 000008C0 (misaligned)
  968. fn000008C0: // (misaligned)
  969. 000008C2  FFCC                     .invalid   <<F/7/7>>
  970. 000008C4  2F07                     move.l     -[A7], D7
  971. 000008C6  2D6E 0010 FFDE           move.l     [A6 - 0x22], [A6 + 0x10]
  972. 000008CC  558F                     subq.l     A7, 2
  973. 000008CE  486E FFCC                pea.l      [A6 - 0x34]
  974. 000008D2  7000                     moveq.l    D0, 0x00
  975. 000008D4  1F00                     move.b     -[A7], D0
  976. 000008D6  4EBA FC70                jsr        [PC - 0x390 /* 00000548 */]
  977. 000008DA  3E1F                     move.w     D7, [A7]+
  978. 000008DC  206E 000C                movea.l    A0, [A6 + 0xC]
  979. 000008E0  30AE FFE2                move.w     [A0], [A6 - 0x1E]
  980. 000008E4  206E 0008                movea.l    A0, [A6 + 0x8]
  981. 000008E8  20AE FFFC                move.l     [A0], [A6 - 0x4]
  982. 000008EC  3D47 0014                move.w     [A6 + 0x14], D7
  983. 000008F0  2E2E FFC8                move.l     D7, [A6 - 0x38]
  984. 000008F4  4E5E                     unlink     A6
  985. 000008F6  205F                     movea.l    A0, [A7]+
  986. 000008F8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  987. 000008FC  4ED0                     jmp        [A0]
  988. 000008FE  8748 4745                pack       -[A3], -[A0], 0x4745
  989. 00000902  5456                     addq.w     [A6], 2
  990. 00000904  4F4C                     chk.w      D7, A4
  991. 00000906  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  992. // begin alternate branch 00000908-0000090C
  993. fn00000908:
  994. 00000908  4E56 FFCC                link       A6, -0x0034
  995. // end alternate branch 00000908-0000090C
  996. fn00000908: // (misaligned)
  997. 0000090A  FFCC                     .invalid   <<F/7/7>>
  998. 0000090C  2D6E 000E FFDE           move.l     [A6 - 0x22], [A6 + 0xE]
  999. 00000912  3D6E 000C FFE2           move.w     [A6 - 0x1E], [A6 + 0xC]
  1000. 00000918  2D6E 0008 FFFC           move.l     [A6 - 0x4], [A6 + 0x8]
  1001. 0000091E  558F                     subq.l     A7, 2
  1002. 00000920  486E FFCC                pea.l      [A6 - 0x34]
  1003. 00000924  7000                     moveq.l    D0, 0x00
  1004. 00000926  1F00                     move.b     -[A7], D0
  1005. 00000928  4EBA FC0C                jsr        [PC - 0x3F4 /* 00000536 */]
  1006. 0000092C  3D5F 0012                move.w     [A6 + 0x12], [A7]+
  1007. 00000930  4E5E                     unlink     A6
  1008. 00000932  205F                     movea.l    A0, [A7]+
  1009. 00000934  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1010. 00000938  4ED0                     jmp        [A0]
  1011. 0000093A  8748 5345                pack       -[A3], -[A0], 0x5345
  1012. 0000093E  5456                     addq.w     [A6], 2
  1013. 00000940  4F4C                     chk.w      D7, A4
  1014. 00000942  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1015. export_173: // at 00000944 (misaligned)
  1016. 00000946  FF86                     .invalid   <<F/6/7>>
  1017. 00000948  2F07                     move.l     -[A7], D7
  1018. 0000094A  3D6E 0016 FF9C           move.w     [A6 - 0x64], [A6 + 0x16]
  1019. 00000950  2D6E 0012 FFB6           move.l     [A6 - 0x4A], [A6 + 0x12]
  1020. 00000956  2D6E 000E FF98           move.l     [A6 - 0x68], [A6 + 0xE]
  1021. 0000095C  422E FFA0                clr.b      [A6 - 0x60]
  1022. 00000960  1D6E 000C FFA1           move.b     [A6 - 0x5F], [A6 + 0xC]
  1023. 00000966  7000                     moveq.l    D0, 0x00
  1024. 00000968  2D40 FFA2                move.l     [A6 - 0x5E], D0
  1025. 0000096C  558F                     subq.l     A7, 2
  1026. 0000096E  486E FF86                pea.l      [A6 - 0x7A]
  1027. 00000972  7000                     moveq.l    D0, 0x00
  1028. 00000974  1F00                     move.b     -[A7], D0
  1029. 00000976  4EBA FC24                jsr        [PC - 0x3DC /* 0000059C */]
  1030. 0000097A  3E1F                     move.w     D7, [A7]+
  1031. 0000097C  206E 0008                movea.l    A0, [A6 + 0x8]
  1032. 00000980  30AE FF9E                move.w     [A0], [A6 - 0x62]
  1033. 00000984  3D47 0018                move.w     [A6 + 0x18], D7
  1034. 00000988  2E2E FF82                move.l     D7, [A6 - 0x7E]
  1035. 0000098C  4E5E                     unlink     A6
  1036. 0000098E  205F                     movea.l    A0, [A7]+
  1037. 00000990  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1038. 00000994  4ED0                     jmp        [A0]
  1039. 00000996  8548 4F50                pack       -[A2], -[A0], 0x4F50
  1040. 0000099A  454E                     chk.w      D2, A6
  1041. 0000099C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1042. // begin alternate branch 0000099E-000009A2
  1043. export_174:
  1044. fn0000099E:
  1045. 0000099E  4E56 FF86                link       A6, -0x007A
  1046. // end alternate branch 0000099E-000009A2
  1047. export_174: // at 0000099E (misaligned)
  1048. fn0000099E: // (misaligned)
  1049. 000009A0  FF86                     .invalid   <<F/6/7>>
  1050. 000009A2  2F07                     move.l     -[A7], D7
  1051. 000009A4  3D6E 0016 FF9C           move.w     [A6 - 0x64], [A6 + 0x16]
  1052. 000009AA  2D6E 0012 FFB6           move.l     [A6 - 0x4A], [A6 + 0x12]
  1053. 000009B0  2D6E 000E FF98           move.l     [A6 - 0x68], [A6 + 0xE]
  1054. 000009B6  422E FFA0                clr.b      [A6 - 0x60]
  1055. 000009BA  1D6E 000C FFA1           move.b     [A6 - 0x5F], [A6 + 0xC]
  1056. 000009C0  7000                     moveq.l    D0, 0x00
  1057. 000009C2  2D40 FFA2                move.l     [A6 - 0x5E], D0
  1058. 000009C6  558F                     subq.l     A7, 2
  1059. 000009C8  486E FF86                pea.l      [A6 - 0x7A]
  1060. 000009CC  7000                     moveq.l    D0, 0x00
  1061. 000009CE  1F00                     move.b     -[A7], D0
  1062. 000009D0  4EBA FBDC                jsr        [PC - 0x424 /* 000005AE */]
  1063. 000009D4  3E1F                     move.w     D7, [A7]+
  1064. 000009D6  206E 0008                movea.l    A0, [A6 + 0x8]
  1065. 000009DA  30AE FF9E                move.w     [A0], [A6 - 0x62]
  1066. 000009DE  3D47 0018                move.w     [A6 + 0x18], D7
  1067. 000009E2  2E2E FF82                move.l     D7, [A6 - 0x7E]
  1068. 000009E6  4E5E                     unlink     A6
  1069. 000009E8  205F                     movea.l    A0, [A7]+
  1070. 000009EA  4FEF 0010                lea.l      A7, [A7 + 0x10]
  1071. 000009EE  4ED0                     jmp        [A0]
  1072. 000009F0  8748 4F50                pack       -[A3], -[A0], 0x4F50
  1073. 000009F4  454E                     chk.w      D2, A6
  1074. 000009F6  5246                     addq.w     D6, 1
  1075. 000009F8  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1076. // begin alternate branch 000009FA-000009FE
  1077. export_175:
  1078. fn000009FA:
  1079. 000009FA  4E56 FF86                link       A6, -0x007A
  1080. // end alternate branch 000009FA-000009FE
  1081. export_175: // at 000009FA (misaligned)
  1082. fn000009FA: // (misaligned)
  1083. 000009FC  FF86                     .invalid   <<F/6/7>>
  1084. 000009FE  48E7 0300                movem.l    -[A7], D6,D7
  1085. 00000A02  2C2E 0014                move.l     D6, [A6 + 0x14]
  1086. 00000A06  3D6E 0018 FF9C           move.w     [A6 - 0x64], [A6 + 0x18]
  1087. 00000A0C  2D46 FFB6                move.l     [A6 - 0x4A], D6
  1088. 00000A10  2D6E 0010 FF98           move.l     [A6 - 0x68], [A6 + 0x10]
  1089. 00000A16  422E FFA0                clr.b      [A6 - 0x60]
  1090. 00000A1A  558F                     subq.l     A7, 2
  1091. 00000A1C  486E FF86                pea.l      [A6 - 0x7A]
  1092. 00000A20  7000                     moveq.l    D0, 0x00
  1093. 00000A22  1F00                     move.b     -[A7], D0
  1094. 00000A24  4EBA FB9A                jsr        [PC - 0x466 /* 000005C0 */]
  1095. 00000A28  3E1F                     move.w     D7, [A7]+
  1096. 00000A2A  6636                     bne        +0x38 /* 00000A62 */
  1097. 00000A2C  426E FFA2                clr.w      [A6 - 0x5E]
  1098. 00000A30  558F                     subq.l     A7, 2
  1099. 00000A32  486E FF86                pea.l      [A6 - 0x7A]
  1100. 00000A36  7000                     moveq.l    D0, 0x00
  1101. 00000A38  1F00                     move.b     -[A7], D0
  1102. 00000A3A  4EBA FBBA                jsr        [PC - 0x446 /* 000005F6 */]
  1103. 00000A3E  3E1F                     move.w     D7, [A7]+
  1104. 00000A40  6620                     bne        +0x22 /* 00000A62 */
  1105. 00000A42  2D6E 000C FFAA           move.l     [A6 - 0x56], [A6 + 0xC]
  1106. 00000A48  2D6E 0008 FFA6           move.l     [A6 - 0x5A], [A6 + 0x8]
  1107. 00000A4E  2D46 FFB6                move.l     [A6 - 0x4A], D6
  1108. 00000A52  558F                     subq.l     A7, 2
  1109. 00000A54  486E FF86                pea.l      [A6 - 0x7A]
  1110. 00000A58  7000                     moveq.l    D0, 0x00
  1111. 00000A5A  1F00                     move.b     -[A7], D0
  1112. 00000A5C  4EBA FBAA                jsr        [PC - 0x456 /* 00000608 */]
  1113. 00000A60  3E1F                     move.w     D7, [A7]+
  1114. label00000A62:
  1115. 00000A62  3D47 001A                move.w     [A6 + 0x1A], D7
  1116. 00000A66  4CEE 00C0 FF7E           movem.l    D6,D7, [A6 - 0x82]
  1117. 00000A6C  4E5E                     unlink     A6
  1118. 00000A6E  205F                     movea.l    A0, [A7]+
  1119. 00000A70  4FEF 0012                lea.l      A7, [A7 + 0x12]
  1120. 00000A74  4ED0                     jmp        [A0]
  1121. 00000A76  8748 4352                pack       -[A3], -[A0], 0x4352
  1122. 00000A7A  4541                     chk.w      D2, D1
  1123. 00000A7C  5445                     addq.w     D5, 2
  1124. 00000A7E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1125. export_176: // at 00000A80 (misaligned)
  1126. 00000A82  FF86                     .invalid   <<F/6/7>>
  1127. 00000A84  2F07                     move.l     -[A7], D7
  1128. 00000A86  3D6E 0014 FF9C           move.w     [A6 - 0x64], [A6 + 0x14]
  1129. 00000A8C  2D6E 0010 FFB6           move.l     [A6 - 0x4A], [A6 + 0x10]
  1130. 00000A92  2D6E 000C FF98           move.l     [A6 - 0x68], [A6 + 0xC]
  1131. 00000A98  558F                     subq.l     A7, 2
  1132. 00000A9A  486E FF86                pea.l      [A6 - 0x7A]
  1133. 00000A9E  7000                     moveq.l    D0, 0x00
  1134. 00000AA0  1F00                     move.b     -[A7], D0
  1135. 00000AA2  4EBA FACC                jsr        [PC - 0x534 /* 00000570 */]
  1136. 00000AA6  3E1F                     move.w     D7, [A7]+
  1137. 00000AA8  206E 0008                movea.l    A0, [A6 + 0x8]
  1138. 00000AAC  20AE FFB6                move.l     [A0], [A6 - 0x4A]
  1139. 00000AB0  3D47 0016                move.w     [A6 + 0x16], D7
  1140. 00000AB4  2E2E FF82                move.l     D7, [A6 - 0x7E]
  1141. 00000AB8  4E5E                     unlink     A6
  1142. 00000ABA  205F                     movea.l    A0, [A7]+
  1143. 00000ABC  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1144. 00000AC0  4ED0                     jmp        [A0]
  1145. 00000AC2  8944 4952                pack       D4, D4, 0x4952
  1146. 00000AC6  4352                     chk.w      D1, [A2]
  1147. 00000AC8  4541                     chk.w      D2, D1
  1148. 00000ACA  5445                     addq.w     D5, 2
  1149. 00000ACC  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1150. export_177: // at 00000ACE (misaligned)
  1151. 00000AD0  FF86                     .invalid   <<F/6/7>>
  1152. 00000AD2  3D6E 0010 FF9C           move.w     [A6 - 0x64], [A6 + 0x10]
  1153. 00000AD8  2D6E 000C FFB6           move.l     [A6 - 0x4A], [A6 + 0xC]
  1154. 00000ADE  2D6E 0008 FF98           move.l     [A6 - 0x68], [A6 + 0x8]
  1155. 00000AE4  422E FFA0                clr.b      [A6 - 0x60]
  1156. 00000AE8  558F                     subq.l     A7, 2
  1157. 00000AEA  486E FF86                pea.l      [A6 - 0x7A]
  1158. 00000AEE  7000                     moveq.l    D0, 0x00
  1159. 00000AF0  1F00                     move.b     -[A7], D0
  1160. 00000AF2  4EBA FADE                jsr        [PC - 0x522 /* 000005D2 */]
  1161. 00000AF6  3D5F 0012                move.w     [A6 + 0x12], [A7]+
  1162. 00000AFA  4E5E                     unlink     A6
  1163. 00000AFC  205F                     movea.l    A0, [A7]+
  1164. 00000AFE  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1165. 00000B02  4ED0                     jmp        [A0]
  1166. 00000B04  8748 4445                pack       -[A3], -[A0], 0x4445
  1167. 00000B08  4C45 5445                movem.l    D0,D2,D6,A2,A4,A6, D5
  1168. 00000B0C  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1169. export_178: // at 00000B0E (misaligned)
  1170. 00000B10  FF86                     .invalid   <<F/6/7>>
  1171. 00000B12  2F07                     move.l     -[A7], D7
  1172. 00000B14  3D6E 0014 FF9C           move.w     [A6 - 0x64], [A6 + 0x14]
  1173. 00000B1A  2D6E 0010 FFB6           move.l     [A6 - 0x4A], [A6 + 0x10]
  1174. 00000B20  2D6E 000C FF98           move.l     [A6 - 0x68], [A6 + 0xC]
  1175. 00000B26  422E FFA0                clr.b      [A6 - 0x60]
  1176. 00000B2A  426E FFA2                clr.w      [A6 - 0x5E]
  1177. 00000B2E  558F                     subq.l     A7, 2
  1178. 00000B30  486E FF86                pea.l      [A6 - 0x7A]
  1179. 00000B34  7000                     moveq.l    D0, 0x00
  1180. 00000B36  1F00                     move.b     -[A7], D0
  1181. 00000B38  4EBA FABC                jsr        [PC - 0x544 /* 000005F6 */]
  1182. 00000B3C  3E1F                     move.w     D7, [A7]+
  1183. 00000B3E  206E 0008                movea.l    A0, [A6 + 0x8]
  1184. 00000B42  43EE FFA6                lea.l      A1, [A6 - 0x5A]
  1185. 00000B46  20D9                     move.l     [A0]+, [A1]+
  1186. 00000B48  20D9                     move.l     [A0]+, [A1]+
  1187. 00000B4A  20D9                     move.l     [A0]+, [A1]+
  1188. 00000B4C  20D9                     move.l     [A0]+, [A1]+
  1189. 00000B4E  3D47 0016                move.w     [A6 + 0x16], D7
  1190. 00000B52  2E2E FF82                move.l     D7, [A6 - 0x7E]
  1191. 00000B56  4E5E                     unlink     A6
  1192. 00000B58  205F                     movea.l    A0, [A7]+
  1193. 00000B5A  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1194. 00000B5E  4ED0                     jmp        [A0]
  1195. 00000B60  8948 4745                pack       -[A4], -[A0], 0x4745
  1196. 00000B64  5446                     addq.w     D6, 2
  1197. 00000B66  494E                     chk.w      D4, A6
  1198. 00000B68  464F                     not.w      A7
  1199. 00000B6A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1200. export_179: // at 00000B6C (misaligned)
  1201. 00000B6E  FF86                     .invalid   <<F/6/7>>
  1202. 00000B70  48E7 0300                movem.l    -[A7], D6,D7
  1203. 00000B74  2C2E 0010                move.l     D6, [A6 + 0x10]
  1204. 00000B78  3D6E 0014 FF9C           move.w     [A6 - 0x64], [A6 + 0x14]
  1205. 00000B7E  2D46 FFB6                move.l     [A6 - 0x4A], D6
  1206. 00000B82  2D6E 000C FF98           move.l     [A6 - 0x68], [A6 + 0xC]
  1207. 00000B88  422E FFA0                clr.b      [A6 - 0x60]
  1208. 00000B8C  426E FFA2                clr.w      [A6 - 0x5E]
  1209. 00000B90  558F                     subq.l     A7, 2
  1210. 00000B92  486E FF86                pea.l      [A6 - 0x7A]
  1211. 00000B96  7000                     moveq.l    D0, 0x00
  1212. 00000B98  1F00                     move.b     -[A7], D0
  1213. 00000B9A  4EBA FA5A                jsr        [PC - 0x5A6 /* 000005F6 */]
  1214. 00000B9E  3E1F                     move.w     D7, [A7]+
  1215. 00000BA0  6624                     bne        +0x26 /* 00000BC6 */
  1216. 00000BA2  206E 0008                movea.l    A0, [A6 + 0x8]
  1217. 00000BA6  43EE FFA6                lea.l      A1, [A6 - 0x5A]
  1218. 00000BAA  22D8                     move.l     [A1]+, [A0]+
  1219. 00000BAC  22D8                     move.l     [A1]+, [A0]+
  1220. 00000BAE  22D8                     move.l     [A1]+, [A0]+
  1221. 00000BB0  22D8                     move.l     [A1]+, [A0]+
  1222. 00000BB2  2D46 FFB6                move.l     [A6 - 0x4A], D6
  1223. 00000BB6  558F                     subq.l     A7, 2
  1224. 00000BB8  486E FF86                pea.l      [A6 - 0x7A]
  1225. 00000BBC  7000                     moveq.l    D0, 0x00
  1226. 00000BBE  1F00                     move.b     -[A7], D0
  1227. 00000BC0  4EBA FA46                jsr        [PC - 0x5BA /* 00000608 */]
  1228. 00000BC4  3E1F                     move.w     D7, [A7]+
  1229. label00000BC6:
  1230. 00000BC6  3D47 0016                move.w     [A6 + 0x16], D7
  1231. 00000BCA  4CEE 00C0 FF7E           movem.l    D6,D7, [A6 - 0x82]
  1232. 00000BD0  4E5E                     unlink     A6
  1233. 00000BD2  205F                     movea.l    A0, [A7]+
  1234. 00000BD4  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1235. 00000BD8  4ED0                     jmp        [A0]
  1236. 00000BDA  8948 5345                pack       -[A4], -[A0], 0x5345
  1237. 00000BDE  5446                     addq.w     D6, 2
  1238. 00000BE0  494E                     chk.w      D4, A6
  1239. 00000BE2  464F                     not.w      A7
  1240. 00000BE4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1241. export_180: // at 00000BE6 (misaligned)
  1242. 00000BE8  FF86                     .invalid   <<F/6/7>>
  1243. 00000BEA  3D6E 0014 FF9C           move.w     [A6 - 0x64], [A6 + 0x14]
  1244. 00000BF0  2D6E 0010 FFB6           move.l     [A6 - 0x4A], [A6 + 0x10]
  1245. 00000BF6  2D6E 000C FF98           move.l     [A6 - 0x68], [A6 + 0xC]
  1246. 00000BFC  422E FFA0                clr.b      [A6 - 0x60]
  1247. 00000C00  2D6E 0008 FFA2           move.l     [A6 - 0x5E], [A6 + 0x8]
  1248. 00000C06  558F                     subq.l     A7, 2
  1249. 00000C08  486E FF86                pea.l      [A6 - 0x7A]
  1250. 00000C0C  7000                     moveq.l    D0, 0x00
  1251. 00000C0E  1F00                     move.b     -[A7], D0
  1252. 00000C10  4EBA F9D2                jsr        [PC - 0x62E /* 000005E4 */]
  1253. 00000C14  3D5F 0016                move.w     [A6 + 0x16], [A7]+
  1254. 00000C18  4E5E                     unlink     A6
  1255. 00000C1A  205F                     movea.l    A0, [A7]+
  1256. 00000C1C  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1257. 00000C20  4ED0                     jmp        [A0]
  1258. 00000C22  8748 5245                pack       -[A3], -[A0], 0x5245
  1259. 00000C26  4E41                     trap       1
  1260. 00000C28  4D45                     chk.w      D6, D5
  1261. 00000C2A  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1262. export_181: // at 00000C2C (misaligned)
  1263. 00000C2E  FFCC                     .invalid   <<F/7/7>>
  1264. 00000C30  2D6E 0010 FFDE           move.l     [A6 - 0x22], [A6 + 0x10]
  1265. 00000C36  3D6E 0018 FFE2           move.w     [A6 - 0x1E], [A6 + 0x18]
  1266. 00000C3C  2D6E 0014 FFFC           move.l     [A6 - 0x4], [A6 + 0x14]
  1267. 00000C42  2D6E 000C FFF0           move.l     [A6 - 0x10], [A6 + 0xC]
  1268. 00000C48  2D6E 0008 FFE8           move.l     [A6 - 0x18], [A6 + 0x8]
  1269. 00000C4E  558F                     subq.l     A7, 2
  1270. 00000C50  486E FFCC                pea.l      [A6 - 0x34]
  1271. 00000C54  7000                     moveq.l    D0, 0x00
  1272. 00000C56  1F00                     move.b     -[A7], D0
  1273. 00000C58  4EBA F900                jsr        [PC - 0x700 /* 0000055A */]
  1274. 00000C5C  3D5F 001A                move.w     [A6 + 0x1A], [A7]+
  1275. 00000C60  4E5E                     unlink     A6
  1276. 00000C62  205F                     movea.l    A0, [A7]+
  1277. 00000C64  4FEF 0012                lea.l      A7, [A7 + 0x12]
  1278. 00000C68  4ED0                     jmp        [A0]
  1279. 00000C6A  8743 4154                pack       D3, D3, 0x4154
  1280. 00000C6E  4D4F                     chk.w      D6, A7
  1281. 00000C70  5645                     addq.w     D5, 3
  1282. 00000C72  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1283. export_182: // at 00000C74 (misaligned)
  1284. 00000C76  FFCC                     .invalid   <<F/7/7>>
  1285. 00000C78  2F07                     move.l     -[A7], D7
  1286. 00000C7A  3D6E 0014 FFE2           move.w     [A6 - 0x1E], [A6 + 0x14]
  1287. 00000C80  2D6E 0010 FFFC           move.l     [A6 - 0x4], [A6 + 0x10]
  1288. 00000C86  2D6E 000C FFE8           move.l     [A6 - 0x18], [A6 + 0xC]
  1289. 00000C8C  7000                     moveq.l    D0, 0x00
  1290. 00000C8E  2D40 FFDE                move.l     [A6 - 0x22], D0
  1291. 00000C92  558F                     subq.l     A7, 2
  1292. 00000C94  486E FFCC                pea.l      [A6 - 0x34]
  1293. 00000C98  7000                     moveq.l    D0, 0x00
  1294. 00000C9A  1F00                     move.b     -[A7], D0
  1295. 00000C9C  4EBA F86C                jsr        [PC - 0x794 /* 0000050A */]
  1296. 00000CA0  3E1F                     move.w     D7, [A7]+
  1297. 00000CA2  206E 0008                movea.l    A0, [A6 + 0x8]
  1298. 00000CA6  30AE FFE2                move.w     [A0], [A6 - 0x1E]
  1299. 00000CAA  3D47 0016                move.w     [A6 + 0x16], D7
  1300. 00000CAE  2E2E FFC8                move.l     D7, [A6 - 0x38]
  1301. 00000CB2  4E5E                     unlink     A6
  1302. 00000CB4  205F                     movea.l    A0, [A7]+
  1303. 00000CB6  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1304. 00000CBA  4ED0                     jmp        [A0]
  1305. 00000CBC  864F                     or.w       D3, A7
  1306. 00000CBE  5045                     addq.w     D5, 8
  1307. 00000CC0  4E57 4400                link       A7, -0xFFFFBC00
  1308. 00000CC4  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1309. export_183: // at 00000CC6 (misaligned)
  1310. 00000CC8  FFCC                     .invalid   <<F/7/7>>
  1311. 00000CCA  3D6E 0008 FFE2           move.w     [A6 - 0x1E], [A6 + 0x8]
  1312. 00000CD0  558F                     subq.l     A7, 2
  1313. 00000CD2  486E FFCC                pea.l      [A6 - 0x34]
  1314. 00000CD6  7000                     moveq.l    D0, 0x00
  1315. 00000CD8  1F00                     move.b     -[A7], D0
  1316. 00000CDA  4EBA F844                jsr        [PC - 0x7BC /* 00000520 */]
  1317. 00000CDE  3D5F 000A                move.w     [A6 + 0xA], [A7]+
  1318. 00000CE2  4E5E                     unlink     A6
  1319. 00000CE4  205F                     movea.l    A0, [A7]+
  1320. 00000CE6  544F                     addq.w     A7, 2
  1321. 00000CE8  4ED0                     jmp        [A0]
  1322. 00000CEA  8743 4C4F                pack       D3, D3, 0x4C4F
  1323. 00000CEE  5345                     subq.w     D5, 1
  1324. 00000CF0  5744                     subq.w     D4, 3
  1325. 00000CF2  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1326. // begin alternate branch 00000CF4-00000CF8
  1327. export_184:
  1328. fn00000CF4:
  1329. 00000CF4  4E56 FFCC                link       A6, -0x0034
  1330. // end alternate branch 00000CF4-00000CF8
  1331. export_184: // at 00000CF4 (misaligned)
  1332. fn00000CF4: // (misaligned)
  1333. 00000CF6  FFCC                     .invalid   <<F/7/7>>
  1334. 00000CF8  2F07                     move.l     -[A7], D7
  1335. 00000CFA  3D6E 0014 FFE2           move.w     [A6 - 0x1E], [A6 + 0x14]
  1336. 00000D00  426E FFE6                clr.w      [A6 - 0x1A]
  1337. 00000D04  7000                     moveq.l    D0, 0x00
  1338. 00000D06  2D40 FFDE                move.l     [A6 - 0x22], D0
  1339. 00000D0A  558F                     subq.l     A7, 2
  1340. 00000D0C  486E FFCC                pea.l      [A6 - 0x34]
  1341. 00000D10  7000                     moveq.l    D0, 0x00
  1342. 00000D12  1F00                     move.b     -[A7], D0
  1343. 00000D14  4EBA F870                jsr        [PC - 0x790 /* 00000586 */]
  1344. 00000D18  3E1F                     move.w     D7, [A7]+
  1345. 00000D1A  206E 0010                movea.l    A0, [A6 + 0x10]
  1346. 00000D1E  30AE FFEC                move.w     [A0], [A6 - 0x14]
  1347. 00000D22  206E 000C                movea.l    A0, [A6 + 0xC]
  1348. 00000D26  20AE FFFC                move.l     [A0], [A6 - 0x4]
  1349. 00000D2A  206E 0008                movea.l    A0, [A6 + 0x8]
  1350. 00000D2E  20AE FFE8                move.l     [A0], [A6 - 0x18]
  1351. 00000D32  3D47 0016                move.w     [A6 + 0x16], D7
  1352. 00000D36  2E2E FFC8                move.l     D7, [A6 - 0x38]
  1353. 00000D3A  4E5E                     unlink     A6
  1354. 00000D3C  205F                     movea.l    A0, [A7]+
  1355. 00000D3E  4FEF 000E                lea.l      A7, [A7 + 0xE]
  1356. 00000D42  4ED0                     jmp        [A0]
  1357. 00000D44  8947 4554                pack       D4, D7, 0x4554
  1358. 00000D48  5744                     subq.w     D4, 3
  1359. 00000D4A  494E                     chk.w      D4, A6
  1360. 00000D4C  464F                     not.w      A7
  1361. 00000D4E  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1362. export_185: // at 00000D50 (misaligned)
  1363. 00000D52  FFE8                     .invalid   <<F/7/7>>
  1364. 00000D54  48E7 0F08                movem.l    -[A7], D4,D5,D6,D7,A4
  1365. 00000D58  182E 0008                move.b     D4, [A6 + 0x8]
  1366. 00000D5C  286E 000A                movea.l    A4, [A6 + 0xA]
  1367. 00000D60  2A2E 000E                move.l     D5, [A6 + 0xE]
  1368. 00000D64  3C2E 0012                move.w     D6, [A6 + 0x12]
  1369. 00000D68  0C78 0600 015A           cmpi.w     [0x0000015A /* SysVersion */], 0x600
  1370. 00000D6E  6D34                     blt        +0x36 /* 00000DA4 */
  1371. 00000D70  303C A89F                move.w     D0, 0xA89F
  1372. 00000D74  A146                     syscall    GetTrapAddress, flags=1
  1373. 00000D76  2D48 FFE8                move.l     [A6 - 0x18], A0
  1374. 00000D7A  598F                     subq.l     A7, 4
  1375. 00000D7C  3F3C A81A                move.w     -[A7], 0xA81A
  1376. 00000D80  7001                     moveq.l    D0, 0x01
  1377. 00000D82  1F00                     move.b     -[A7], D0
  1378. 00000D84  4EBA F636                jsr        [PC - 0x9CA /* 000003BC */]
  1379. 00000D88  202E FFE8                move.l     D0, [A6 - 0x18]
  1380. 00000D8C  B09F                     cmp.l      D0, [A7]+
  1381. 00000D8E  6714                     beq        +0x16 /* 00000DA4 */
  1382. 00000D90  558F                     subq.l     A7, 2
  1383. 00000D92  3F06                     move.w     -[A7], D6
  1384. 00000D94  2F05                     move.l     -[A7], D5
  1385. 00000D96  2F0C                     move.l     -[A7], A4
  1386. 00000D98  1F04                     move.b     -[A7], D4
  1387. 00000D9A  A81A                     syscall    HOpenResFile
  1388. 00000D9C  3D5F 0014                move.w     [A6 + 0x14], [A7]+
  1389. 00000DA0  6000 00D0                bra        +0xD2 /* 00000E72 */
  1390. label00000DA4:
  1391. 00000DA4  3D7C FFFF FFEC           move.w     [A6 - 0x14], 0xFFFF
  1392. 00000DAA  558F                     subq.l     A7, 2
  1393. 00000DAC  3F06                     move.w     -[A7], D6
  1394. 00000DAE  2F05                     move.l     -[A7], D5
  1395. 00000DB0  2F0C                     move.l     -[A7], A4
  1396. 00000DB2  1F04                     move.b     -[A7], D4
  1397. 00000DB4  486E FFEE                pea.l      [A6 - 0x12]
  1398. 00000DB8  4EBA FBE4                jsr        [PC - 0x41C /* 0000099E */]
  1399. 00000DBC  3E1F                     move.w     D7, [A7]+
  1400. 00000DBE  660C                     bne        +0xE /* 00000DCC */
  1401. 00000DC0  558F                     subq.l     A7, 2
  1402. 00000DC2  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  1403. 00000DC6  4EBA F658                jsr        [PC - 0x9A8 /* 00000420 */]
  1404. 00000DCA  3E1F                     move.w     D7, [A7]+
  1405. label00000DCC:
  1406. 00000DCC  4A47                     tst.w      D7
  1407. 00000DCE  6708                     beq        +0xA /* 00000DD8 */
  1408. 00000DD0  0C47 FFCF                cmpi.w     D7, 0xFFCF
  1409. 00000DD4  6600 0092                bne        +0x94 /* 00000E68 */
  1410. label00000DD8:
  1411. 00000DD8  558F                     subq.l     A7, 2
  1412. 00000DDA  7000                     moveq.l    D0, 0x00
  1413. 00000DDC  2F00                     move.l     -[A7], D0
  1414. 00000DDE  486E FFF0                pea.l      [A6 - 0x10]
  1415. 00000DE2  486E FFF2                pea.l      [A6 - 0xE]
  1416. 00000DE6  4EBA FAD8                jsr        [PC - 0x528 /* 000008C0 */]
  1417. 00000DEA  3E1F                     move.w     D7, [A7]+
  1418. 00000DEC  667A                     bne        +0x7C /* 00000E68 */
  1419. 00000DEE  558F                     subq.l     A7, 2
  1420. 00000DF0  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  1421. 00000DF4  486E FFF6                pea.l      [A6 - 0xA]
  1422. 00000DF8  486E FFF8                pea.l      [A6 - 0x8]
  1423. 00000DFC  486E FFFC                pea.l      [A6 - 0x4]
  1424. 00000E00  4EBA FEF2                jsr        [PC - 0x10E /* 00000CF4 */]
  1425. 00000E04  3E1F                     move.w     D7, [A7]+
  1426. 00000E06  6660                     bne        +0x62 /* 00000E68 */
  1427. 00000E08  558F                     subq.l     A7, 2
  1428. 00000E0A  7000                     moveq.l    D0, 0x00
  1429. 00000E0C  2F00                     move.l     -[A7], D0
  1430. 00000E0E  3F06                     move.w     -[A7], D6
  1431. 00000E10  2F05                     move.l     -[A7], D5
  1432. 00000E12  4EBA FAF4                jsr        [PC - 0x50C /* 00000908 */]
  1433. 00000E16  3E1F                     move.w     D7, [A7]+
  1434. 00000E18  661A                     bne        +0x1C /* 00000E34 */
  1435. 00000E1A  558F                     subq.l     A7, 2
  1436. 00000E1C  200C                     move.l     D0, A4
  1437. 00000E1E  A055                     syscall    StripAddress
  1438. 00000E20  2F00                     move.l     -[A7], D0
  1439. 00000E22  7000                     moveq.l    D0, 0x00
  1440. 00000E24  3F00                     move.w     -[A7], D0
  1441. 00000E26  1F04                     move.b     -[A7], D4
  1442. 00000E28  A9C4                     syscall    OpenRFPerm
  1443. 00000E2A  3D5F FFEC                move.w     [A6 - 0x14], [A7]+
  1444. 00000E2E  558F                     subq.l     A7, 2
  1445. 00000E30  A9AF                     syscall    ResError
  1446. 00000E32  3E1F                     move.w     D7, [A7]+
  1447. label00000E34:
  1448. 00000E34  7002                     moveq.l    D0, 0x02
  1449. 00000E36  B0AE FFF8                cmp.l      D0, [A6 - 0x8]
  1450. 00000E3A  6616                     bne        +0x18 /* 00000E52 */
  1451. 00000E3C  558F                     subq.l     A7, 2
  1452. 00000E3E  7000                     moveq.l    D0, 0x00
  1453. 00000E40  2F00                     move.l     -[A7], D0
  1454. 00000E42  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  1455. 00000E46  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  1456. 00000E4A  4EBA FABC                jsr        [PC - 0x544 /* 00000908 */]
  1457. 00000E4E  381F                     move.w     D4, [A7]+
  1458. 00000E50  6010                     bra        +0x12 /* 00000E62 */
  1459. label00000E52:
  1460. 00000E52  558F                     subq.l     A7, 2
  1461. 00000E54  7000                     moveq.l    D0, 0x00
  1462. 00000E56  2F00                     move.l     -[A7], D0
  1463. 00000E58  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  1464. 00000E5C  4EBA F624                jsr        [PC - 0x9DC /* 00000482 */]
  1465. 00000E60  381F                     move.w     D4, [A7]+
  1466. label00000E62:
  1467. 00000E62  4A47                     tst.w      D7
  1468. 00000E64  6602                     bne        +0x4 /* 00000E68 */
  1469. 00000E66  3E04                     move.w     D7, D4
  1470. label00000E68:
  1471. 00000E68  31C7 0A60                move.w     [0x00000A60 /* ResErr */], D7
  1472. 00000E6C  3D6E FFEC 0014           move.w     [A6 + 0x14], [A6 - 0x14]
  1473. label00000E72:
  1474. 00000E72  4CEE 10F0 FFD4           movem.l    D4,D5,D6,D7,A4, [A6 - 0x2C]
  1475. 00000E78  4E5E                     unlink     A6
  1476. 00000E7A  205F                     movea.l    A0, [A7]+
  1477. 00000E7C  4FEF 000C                lea.l      A7, [A7 + 0xC]
  1478. 00000E80  4ED0                     jmp        [A0]
  1479. 00000E82  9048                     sub.w      D0, A0
  1480. 00000E84  4F50                     chk.w      D7, [A0]
  1481. 00000E86  454E                     chk.w      D2, A6
  1482. 00000E88  5245                     addq.w     D5, 1
  1483. 00000E8A  5346                     subq.w     D6, 1
  1484. 00000E8C  494C                     chk.w      D4, A4
  1485. 00000E8E  4547                     chk.w      D2, D7
  1486. 00000E90  4C55 4500                movem.l    A0,A2,A6, [A5]
  1487. 00000E94  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1488. export_186: // at 00000E96 (misaligned)
  1489. 00000E98  FFEA                     .invalid   <<F/7/7>>
  1490. 00000E9A  48E7 0708                movem.l    -[A7], D5,D6,D7,A4
  1491. 00000E9E  286E 0008                movea.l    A4, [A6 + 0x8]
  1492. 00000EA2  2A2E 000C                move.l     D5, [A6 + 0xC]
  1493. 00000EA6  3C2E 0010                move.w     D6, [A6 + 0x10]
  1494. 00000EAA  0C78 0600 015A           cmpi.w     [0x0000015A /* SysVersion */], 0x600
  1495. 00000EB0  6D2C                     blt        +0x2E /* 00000EDE */
  1496. 00000EB2  303C A89F                move.w     D0, 0xA89F
  1497. 00000EB6  A146                     syscall    GetTrapAddress, flags=1
  1498. 00000EB8  2D48 FFEA                move.l     [A6 - 0x16], A0
  1499. 00000EBC  598F                     subq.l     A7, 4
  1500. 00000EBE  3F3C A81B                move.w     -[A7], 0xA81B
  1501. 00000EC2  7001                     moveq.l    D0, 0x01
  1502. 00000EC4  1F00                     move.b     -[A7], D0
  1503. 00000EC6  4EBA F4F4                jsr        [PC - 0xB0C /* 000003BC */]
  1504. 00000ECA  202E FFEA                move.l     D0, [A6 - 0x16]
  1505. 00000ECE  B09F                     cmp.l      D0, [A7]+
  1506. 00000ED0  670C                     beq        +0xE /* 00000EDE */
  1507. 00000ED2  3F06                     move.w     -[A7], D6
  1508. 00000ED4  2F05                     move.l     -[A7], D5
  1509. 00000ED6  2F0C                     move.l     -[A7], A4
  1510. 00000ED8  A81B                     syscall    HCreateResFile
  1511. 00000EDA  6000 00CA                bra        +0xCC /* 00000FA6 */
  1512. label00000EDE:
  1513. 00000EDE  558F                     subq.l     A7, 2
  1514. 00000EE0  3F06                     move.w     -[A7], D6
  1515. 00000EE2  2F05                     move.l     -[A7], D5
  1516. 00000EE4  2F0C                     move.l     -[A7], A4
  1517. 00000EE6  7000                     moveq.l    D0, 0x00
  1518. 00000EE8  1F00                     move.b     -[A7], D0
  1519. 00000EEA  486E FFEE                pea.l      [A6 - 0x12]
  1520. 00000EEE  4EBA FAAE                jsr        [PC - 0x552 /* 0000099E */]
  1521. 00000EF2  3E1F                     move.w     D7, [A7]+
  1522. 00000EF4  660C                     bne        +0xE /* 00000F02 */
  1523. 00000EF6  558F                     subq.l     A7, 2
  1524. 00000EF8  3F2E FFEE                move.w     -[A7], [A6 - 0x12]
  1525. 00000EFC  4EBA F522                jsr        [PC - 0xADE /* 00000420 */]
  1526. 00000F00  3E1F                     move.w     D7, [A7]+
  1527. label00000F02:
  1528. 00000F02  0C47 FFD5                cmpi.w     D7, 0xFFD5
  1529. 00000F06  6614                     bne        +0x16 /* 00000F1C */
  1530. 00000F08  558F                     subq.l     A7, 2
  1531. 00000F0A  3F06                     move.w     -[A7], D6
  1532. 00000F0C  2F05                     move.l     -[A7], D5
  1533. 00000F0E  2F0C                     move.l     -[A7], A4
  1534. 00000F10  7000                     moveq.l    D0, 0x00
  1535. 00000F12  2F00                     move.l     -[A7], D0
  1536. 00000F14  2F00                     move.l     -[A7], D0
  1537. 00000F16  4EBA FAE2                jsr        [PC - 0x51E /* 000009FA */]
  1538. 00000F1A  3E1F                     move.w     D7, [A7]+
  1539. label00000F1C:
  1540. 00000F1C  4A47                     tst.w      D7
  1541. 00000F1E  6600 0082                bne        +0x84 /* 00000FA2 */
  1542. 00000F22  558F                     subq.l     A7, 2
  1543. 00000F24  7000                     moveq.l    D0, 0x00
  1544. 00000F26  2F00                     move.l     -[A7], D0
  1545. 00000F28  486E FFF0                pea.l      [A6 - 0x10]
  1546. 00000F2C  486E FFF2                pea.l      [A6 - 0xE]
  1547. 00000F30  4EBA F98E                jsr        [PC - 0x672 /* 000008C0 */]
  1548. 00000F34  3E1F                     move.w     D7, [A7]+
  1549. 00000F36  666A                     bne        +0x6C /* 00000FA2 */
  1550. 00000F38  558F                     subq.l     A7, 2
  1551. 00000F3A  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  1552. 00000F3E  486E FFF6                pea.l      [A6 - 0xA]
  1553. 00000F42  486E FFF8                pea.l      [A6 - 0x8]
  1554. 00000F46  486E FFFC                pea.l      [A6 - 0x4]
  1555. 00000F4A  4EBA FDA8                jsr        [PC - 0x258 /* 00000CF4 */]
  1556. 00000F4E  3E1F                     move.w     D7, [A7]+
  1557. 00000F50  6650                     bne        +0x52 /* 00000FA2 */
  1558. 00000F52  558F                     subq.l     A7, 2
  1559. 00000F54  7000                     moveq.l    D0, 0x00
  1560. 00000F56  2F00                     move.l     -[A7], D0
  1561. 00000F58  3F06                     move.w     -[A7], D6
  1562. 00000F5A  2F05                     move.l     -[A7], D5
  1563. 00000F5C  4EBA F9AA                jsr        [PC - 0x656 /* 00000908 */]
  1564. 00000F60  3E1F                     move.w     D7, [A7]+
  1565. 00000F62  660A                     bne        +0xC /* 00000F6E */
  1566. 00000F64  2F0C                     move.l     -[A7], A4
  1567. 00000F66  A9B1                     syscall    CreateResFile
  1568. 00000F68  558F                     subq.l     A7, 2
  1569. 00000F6A  A9AF                     syscall    ResError
  1570. 00000F6C  3E1F                     move.w     D7, [A7]+
  1571. label00000F6E:
  1572. 00000F6E  7002                     moveq.l    D0, 0x02
  1573. 00000F70  B0AE FFF8                cmp.l      D0, [A6 - 0x8]
  1574. 00000F74  6616                     bne        +0x18 /* 00000F8C */
  1575. 00000F76  558F                     subq.l     A7, 2
  1576. 00000F78  7000                     moveq.l    D0, 0x00
  1577. 00000F7A  2F00                     move.l     -[A7], D0
  1578. 00000F7C  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  1579. 00000F80  2F2E FFF2                move.l     -[A7], [A6 - 0xE]
  1580. 00000F84  4EBA F982                jsr        [PC - 0x67E /* 00000908 */]
  1581. 00000F88  3A1F                     move.w     D5, [A7]+
  1582. 00000F8A  6010                     bra        +0x12 /* 00000F9C */
  1583. label00000F8C:
  1584. 00000F8C  558F                     subq.l     A7, 2
  1585. 00000F8E  7000                     moveq.l    D0, 0x00
  1586. 00000F90  2F00                     move.l     -[A7], D0
  1587. 00000F92  3F2E FFF0                move.w     -[A7], [A6 - 0x10]
  1588. 00000F96  4EBA F4EA                jsr        [PC - 0xB16 /* 00000482 */]
  1589. 00000F9A  3A1F                     move.w     D5, [A7]+
  1590. label00000F9C:
  1591. 00000F9C  4A47                     tst.w      D7
  1592. 00000F9E  6602                     bne        +0x4 /* 00000FA2 */
  1593. 00000FA0  3E05                     move.w     D7, D5
  1594. label00000FA2:
  1595. 00000FA2  31C7 0A60                move.w     [0x00000A60 /* ResErr */], D7
  1596. label00000FA6:
  1597. 00000FA6  4CEE 10E0 FFDA           movem.l    D5,D6,D7,A4, [A6 - 0x26]
  1598. 00000FAC  4E5E                     unlink     A6
  1599. 00000FAE  205F                     movea.l    A0, [A7]+
  1600. 00000FB0  4FEF 000A                lea.l      A7, [A7 + 0xA]
  1601. 00000FB4  4ED0                     jmp        [A0]
  1602. 00000FB6  9248                     sub.w      D1, A0
  1603. 00000FB8  4352                     chk.w      D1, [A2]
  1604. 00000FBA  4541                     chk.w      D2, D1
  1605. 00000FBC  5445                     addq.w     D5, 2
  1606. 00000FBE  5245                     addq.w     D5, 1
  1607. 00000FC0  5346                     subq.w     D6, 1
  1608. 00000FC2  494C                     chk.w      D4, A4
  1609. 00000FC4  4547                     chk.w      D2, D7
  1610. 00000FC6  4C55 4500                movem.l    A0,A2,A6, [A5]
  1611. 00000FCA  0000 4E56                ori.b      D0, 0x56 /* 'V' */
  1612. // begin alternate branch 00000FCC-00000FDA
  1613. fn00000FCC:
  1614. 00000FCC  4E56 0000                link       A6, 0
  1615. 00000FD0  0CAE 0000 3A98 0008      cmpi.l     [A6 + 0x8], 0x3A98
  1616. 00000FD8  640C                     bcc        +0xE /* 00000FE6 */
  1617. // end alternate branch 00000FCC-00000FDA
  1618. fn00000FCC: // (misaligned)
  1619. 00000FCE  0000 0CAE                ori.b      D0, 0xAE
  1620. 00000FD2  0000 3A98                ori.b      D0, 0x98
  1621. 00000FD6  0008 640C                ori.b      A0, 0xC
  1622. 00000FDA  3F2E 000A                move.w     -[A7], [A6 + 0xA]
  1623. 00000FDE  4EBA 003E                jsr        [PC + 0x3E /* 0000101E */]
  1624. 00000FE2  548F                     addq.l     A7, 2
  1625. 00000FE4  601E                     bra        +0x20 /* 00001004 */
  1626. label00000FE6:
  1627. 00000FE6  0CAE 0080 0000 0008      cmpi.l     [A6 + 0x8], 0x800000
  1628. 00000FEE  6304                     bls        +0x6 /* 00000FF4 */
  1629. 00000FF0  7000                     moveq.l    D0, 0x00
  1630. 00000FF2  6010                     bra        +0x12 /* 00001004 */
  1631. label00000FF4:
  1632. 00000FF4  202E 0008                move.l     D0, [A6 + 0x8]
  1633. 00000FF8  5480                     addq.l     D0, 2
  1634. 00000FFA  A11E                     syscall    NewPtr, flags=1
  1635. 00000FFC  6B04                     bmi        +0x6 /* 00001002 */
  1636. 00000FFE  30FC FFFF                move.w     [A0]+, 0xFFFF
  1637. label00001002:
  1638. 00001002  2008                     move.l     D0, A0
  1639. label00001004:
  1640. 00001004  4E5E                     unlink     A6
  1641. 00001006  4E75                     rts
  1642. fn00001008:
  1643. 00001008  4E56 0000                link       A6, 0
  1644. 0000100C  202E 0008                move.l     D0, [A6 + 0x8]
  1645. 00001010  6708                     beq        +0xA /* 0000101A */
  1646. 00001012  2040                     movea.l    A0, D0
  1647. 00001014  4660                     not.w      -[A0]
  1648. 00001016  6602                     bne        +0x4 /* 0000101A */
  1649. 00001018  A01F                     syscall    DisposPtr/DisposePtr
  1650. label0000101A:
  1651. 0000101A  4E5E                     unlink     A6
  1652. 0000101C  4E75                     rts
  1653. fn0000101E:
  1654. 0000101E  4E56 FFF8                link       A6, -0x0008
  1655. 00001022  2F07                     move.l     -[A7], D7
  1656. 00001024  3E2E 0008                move.w     D7, [A6 + 0x8]
  1657. 00001028  5647                     addq.w     D7, 3
  1658. 0000102A  0887 0000                bclr.b     D7, 0x0
  1659. 0000102E  2D6D FFF4 FFFC           move.l     [A6 - 0x4], [A5 - 0xC]
  1660. 00001034  202D FFF8                move.l     D0, [A5 - 0x8]
  1661. 00001038  664C                     bne        +0x4E /* 00001086 */
  1662. label0000103A:
  1663. 0000103A  203C 0000 3AA0           move.l     D0, 0x3AA0
  1664. 00001040  A11E                     syscall    NewPtr, flags=1
  1665. 00001042  6B00 0086                bmi        +0x88 /* 000010CA */
  1666. 00001046  317C FFFF 3A9A           move.w     [A0 + 0x3A9A], 0xFFFF
  1667. 0000104C  216D FFEC 3A9C           move.l     [A0 + 0x3A9C], [A5 - 0x14]
  1668. 00001052  2B48 FFEC                move.l     [A5 - 0x14], A0
  1669. 00001056  2B48 FFF4                move.l     [A5 - 0xC], A0
  1670. 0000105A  202D FFF0                move.l     D0, [A5 - 0x10]
  1671. 0000105E  6606                     bne        +0x8 /* 00001066 */
  1672. 00001060  2008                     move.l     D0, A0
  1673. 00001062  2B40 FFF0                move.l     [A5 - 0x10], D0
  1674. label00001066:
  1675. 00001066  2240                     movea.l    A1, D0
  1676. 00001068  2348 3A9C                move.l     [A1 + 0x3A9C], A0
  1677. 0000106C  303C 3A9A                move.w     D0, 0x3A9A
  1678. 00001070  3080                     move.w     [A0], D0
  1679. 00001072  6044                     bra        +0x46 /* 000010B8 */
  1680. label00001074:
  1681. 00001074  202E FFF8                move.l     D0, [A6 - 0x8]
  1682. 00001078  B0AE FFFC                cmp.l      D0, [A6 - 0x4]
  1683. 0000107C  67BC                     beq        -0x42 /* 0000103A */
  1684. 0000107E  2B40 FFF4                move.l     [A5 - 0xC], D0
  1685. 00001082  2B40 FFF8                move.l     [A5 - 0x8], D0
  1686. label00001086:
  1687. 00001086  2040                     movea.l    A0, D0
  1688. 00001088  74FF                     moveq.l    D2, 0xFFFFFFFF
  1689. 0000108A  6018                     bra        +0x1A /* 000010A4 */
  1690. label0000108C:
  1691. 0000108C  4640                     not.w      D0
  1692. 0000108E  660E                     bne        +0x10 /* 0000109E */
  1693. 00001090  2D68 0002 FFF8           move.l     [A6 - 0x8], [A0 + 0x2]
  1694. 00001096  206D FFF4                movea.l    A0, [A5 - 0xC]
  1695. 0000109A  242D FFF8                move.l     D2, [A5 - 0x8]
  1696. label0000109E:
  1697. 0000109E  D0C0                     add.w      A0, D0
  1698. 000010A0  B1C2                     cmpa.l     A0, D2
  1699. 000010A2  64D0                     bcc        -0x2E /* 00001074 */
  1700. label000010A4:
  1701. 000010A4  3010                     move.w     D0, [A0]
  1702. 000010A6  6BE4                     bmi        -0x1A /* 0000108C */
  1703. 000010A8  7200                     moveq.l    D1, 0x00
  1704. label000010AA:
  1705. 000010AA  D041                     add.w      D0, D1
  1706. 000010AC  3230 0000                move.w     D1, [A0 + D0.w]
  1707. 000010B0  6AF8                     bpl        -0x6 /* 000010AA */
  1708. 000010B2  3080                     move.w     [A0], D0
  1709. 000010B4  B047                     cmp.w      D0, D7
  1710. 000010B6  65E6                     bcs        -0x18 /* 0000109E */
  1711. label000010B8:
  1712. 000010B8  2248                     movea.l    A1, A0
  1713. 000010BA  D2C7                     add.w      A1, D7
  1714. 000010BC  2B49 FFF8                move.l     [A5 - 0x8], A1
  1715. 000010C0  9047                     sub.w      D0, D7
  1716. 000010C2  6702                     beq        +0x4 /* 000010C6 */
  1717. 000010C4  3280                     move.w     [A1], D0
  1718. label000010C6:
  1719. 000010C6  4647                     not.w      D7
  1720. 000010C8  30C7                     move.w     [A0]+, D7
  1721. label000010CA:
  1722. 000010CA  2008                     move.l     D0, A0
  1723. 000010CC  2E1F                     move.l     D7, [A7]+
  1724. 000010CE  4E5E                     unlink     A6
  1725. 000010D0  4E75                     rts
  1726. 000010D2  2F0C                     move.l     -[A7], A4
  1727. 000010D4  206D FFEC                movea.l    A0, [A5 - 0x14]
  1728. 000010D8  670A                     beq        +0xC /* 000010E4 */
  1729. label000010DA:
  1730. 000010DA  2868 3A9C                movea.l    A4, [A0 + 0x3A9C]
  1731. 000010DE  A01F                     syscall    DisposPtr/DisposePtr
  1732. 000010E0  204C                     movea.l    A0, A4
  1733. 000010E2  66F6                     bne        -0x8 /* 000010DA */
  1734. label000010E4:
  1735. 000010E4  285F                     movea.l    A4, [A7]+
  1736. 000010E6  4E75                     rts
  1737. 000010E8  222F 0004                move.l     D1, [A7 + 0x4]
  1738. 000010EC  202F 0008                move.l     D0, [A7 + 0x8]
  1739. export_189:
  1740. 000010F0  4EBA 001E                jsr        [PC + 0x1E /* 00001110 */]
  1741. 000010F4  2001                     move.l     D0, D1
  1742. 000010F6  4E75                     rts
  1743. 000010F8  222F 0004                move.l     D1, [A7 + 0x4]
  1744. 000010FC  202F 0008                move.l     D0, [A7 + 0x8]
  1745. export_190:
  1746. 00001100  4EBA 003C                jsr        [PC + 0x3C /* 0000113E */]
  1747. 00001104  2001                     move.l     D0, D1
  1748. 00001106  4E75                     rts
  1749. 00001108  222F 0004                move.l     D1, [A7 + 0x4]
  1750. 0000110C  202F 0008                move.l     D0, [A7 + 0x8]
  1751. export_191:
  1752. fn00001110:
  1753. 00001110  48E7 0600                movem.l    -[A7], D5,D6
  1754. 00001114  2A00                     move.l     D5, D0
  1755. 00001116  6A02                     bpl        +0x4 /* 0000111A */
  1756. 00001118  4480                     neg.l      D0
  1757. label0000111A:
  1758. 0000111A  2C01                     move.l     D6, D1
  1759. 0000111C  6A02                     bpl        +0x4 /* 00001120 */
  1760. 0000111E  4481                     neg.l      D1
  1761. label00001120:
  1762. 00001120  4EBA 001C                jsr        [PC + 0x1C /* 0000113E */]
  1763. 00001124  4A85                     tst.l      D5
  1764. 00001126  6A02                     bpl        +0x4 /* 0000112A */
  1765. 00001128  4480                     neg.l      D0
  1766. label0000112A:
  1767. 0000112A  BB86                     xor.l      D6, D5
  1768. 0000112C  6A02                     bpl        +0x4 /* 00001130 */
  1769. 0000112E  4481                     neg.l      D1
  1770. label00001130:
  1771. 00001130  4CDF 0060                movem.l    D5,D6, [A7]+
  1772. 00001134  4E75                     rts
  1773. 00001136  222F 0004                move.l     D1, [A7 + 0x4]
  1774. 0000113A  202F 0008                move.l     D0, [A7 + 0x8]
  1775. fn0000113E:
  1776. 0000113E  48E7 3800                movem.l    -[A7], D2,D3,D4
  1777. 00001142  2401                     move.l     D2, D1
  1778. 00001144  4842                     swap.w     D2
  1779. 00001146  4A42                     tst.w      D2
  1780. 00001148  661C                     bne        +0x1E /* 00001166 */
  1781. 0000114A  3600                     move.w     D3, D0
  1782. 0000114C  4240                     clr.w      D0
  1783. 0000114E  4840                     swap.w     D0
  1784. 00001150  6704                     beq        +0x6 /* 00001156 */
  1785. 00001152  80C1                     divu.w     D0, D1
  1786. 00001154  3400                     move.w     D2, D0
  1787. label00001156:
  1788. 00001156  4842                     swap.w     D2
  1789. 00001158  3003                     move.w     D0, D3
  1790. 0000115A  80C1                     divu.w     D0, D1
  1791. 0000115C  3400                     move.w     D2, D0
  1792. 0000115E  2202                     move.l     D1, D2
  1793. 00001160  4240                     clr.w      D0
  1794. 00001162  4840                     swap.w     D0
  1795. 00001164  6022                     bra        +0x24 /* 00001188 */
  1796. label00001166:
  1797. 00001166  2400                     move.l     D2, D0
  1798. 00001168  4240                     clr.w      D0
  1799. 0000116A  4840                     swap.w     D0
  1800. 0000116C  4842                     swap.w     D2
  1801. 0000116E  4242                     clr.w      D2
  1802. 00001170  2601                     move.l     D3, D1
  1803. 00001172  7200                     moveq.l    D1, 0x00
  1804. 00001174  780F                     moveq.l    D4, 0x0F
  1805. label00001176:
  1806. 00001176  D482                     add.l      D2, D2
  1807. 00001178  D180                     addx.l     D0, D0
  1808. 0000117A  D281                     add.l      D1, D1
  1809. 0000117C  B083                     cmp.l      D0, D3
  1810. 0000117E  6504                     bcs        +0x6 /* 00001184 */
  1811. 00001180  9083                     sub.l      D0, D3
  1812. 00001182  5201                     addq.b     D1, 1
  1813. label00001184:
  1814. 00001184  51CC FFF0                dbf        D4, -0x12 /* 00001176 */
  1815. label00001188:
  1816. 00001188  4CDF 001C                movem.l    D2,D3,D4, [A7]+
  1817. 0000118C  4E75                     rts
  1818. export_187:
  1819. 0000118E  4E56 0000                link       A6, 0
  1820. 00001192  2F2E 0008                move.l     -[A7], [A6 + 0x8]
  1821. 00001196  4EBA FE70                jsr        [PC - 0x190 /* 00001008 */]
  1822. 0000119A  4E5E                     unlink     A6
  1823. 0000119C  205F                     movea.l    A0, [A7]+
  1824. 0000119E  584F                     addq.w     A7, 4
  1825. 000011A0  4ED0                     jmp        [A0]
  1826. 000011A2  4E56 0000                link       A6, 0
  1827. 000011A6  2F0A                     move.l     -[A7], A2
  1828. 000011A8  246D FFFC                movea.l    A2, [A5 - 0x4]
  1829. 000011AC  2B6E 0008 FFFC           move.l     [A5 - 0x4], [A6 + 0x8]
  1830. 000011B2  200A                     move.l     D0, A2
  1831. 000011B4  245F                     movea.l    A2, [A7]+
  1832. 000011B6  4E5E                     unlink     A6
  1833. 000011B8  205F                     movea.l    A0, [A7]+
  1834. 000011BA  584F                     addq.w     A7, 4
  1835. 000011BC  4ED0                     jmp        [A0]
  1836. export_188:
  1837. 000011BE  4E56 0000                link       A6, 0
  1838. 000011C2  48E7 1020                movem.l    -[A7], D3,A2
  1839. 000011C6  262E 0008                move.l     D3, [A6 + 0x8]
  1840. 000011CA  4A83                     tst.l      D3
  1841. 000011CC  6602                     bne        +0x4 /* 000011D0 */
  1842. 000011CE  7602                     moveq.l    D3, 0x02
  1843. label000011D0:
  1844. 000011D0  2F03                     move.l     -[A7], D3
  1845. 000011D2  4EBA FDF8                jsr        [PC - 0x208 /* 00000FCC */]
  1846. 000011D6  584F                     addq.w     A7, 4
  1847. 000011D8  2440                     movea.l    A2, D0
  1848. 000011DA  B4FC 0000                cmpa.w     A2, 0x0
  1849. 000011DE  6622                     bne        +0x24 /* 00001202 */
  1850. 000011E0  202D FFFC                move.l     D0, [A5 - 0x4]
  1851. 000011E4  671C                     beq        +0x1E /* 00001202 */
  1852. label000011E6:
  1853. 000011E6  206D FFFC                movea.l    A0, [A5 - 0x4]
  1854. 000011EA  4E90                     jsr        [A0]
  1855. 000011EC  2F03                     move.l     -[A7], D3
  1856. 000011EE  4EBA FDDC                jsr        [PC - 0x224 /* 00000FCC */]
  1857. 000011F2  584F                     addq.w     A7, 4
  1858. 000011F4  2440                     movea.l    A2, D0
  1859. 000011F6  B4FC 0000                cmpa.w     A2, 0x0
  1860. 000011FA  6606                     bne        +0x8 /* 00001202 */
  1861. 000011FC  202D FFFC                move.l     D0, [A5 - 0x4]
  1862. 00001200  66E4                     bne        -0x1A /* 000011E6 */
  1863. label00001202:
  1864. 00001202  200A                     move.l     D0, A2
  1865. 00001204  4CDF 0408                movem.l    D3,A2, [A7]+
  1866. 00001208  4E5E                     unlink     A6
  1867. 0000120A  205F                     movea.l    A0, [A7]+
  1868. 0000120C  584F                     addq.w     A7, 4
  1869. 0000120E  4ED0                     jmp        [A0]
  1870.